Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tapasco
tapasco
Commits
6474f392
Commit
6474f392
authored
Jun 09, 2017
by
Jens Korinth
Browse files
Bugfix bash detection
parent
7b094701
Changes
1
Hide whitespace changes
Inline
Side-by-side
setup.sh
View file @
6474f392
if
[[
"-bash"
==
$0
]]
;
then
if
[[
"-bash"
==
$0
||
"bash"
==
`
basename
$0
`
]]
;
then
export
TAPASCO_HOME
=
`
dirname
${
BASH_SOURCE
[0]
}
| xargs
realpath
`
else
echo
"WARNING: non-bash shell; need source setup.sh from the TaPaSCo root dir!"
...
...
Jens Korinth
@jk
mentioned in commit
a831b501
·
Jul 14, 2017
mentioned in commit
a831b501
mentioned in commit a831b5015df6bd8f8d23ddd334a3b1159392de92
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment