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
37de28fa
Commit
37de28fa
authored
Jul 06, 2017
by
Jaco Hofmann
Browse files
Adds ZSH to dir-free setup.sh
parent
71b50778
Changes
1
Show whitespace changes
Inline
Side-by-side
setup.sh
View file @
37de28fa
if
[
[
"-bash"
==
$0
||
"bash"
==
`
basename
$0
`
]
]
;
then
if
[
-n
"
$BASH_VERSION
"
]
;
then
export
TAPASCO_HOME
=
`
dirname
${
BASH_SOURCE
[0]
}
| xargs
realpath
`
elif
[
-n
"
$ZSH_VERSION
"
]
;
then
export
TAPASCO_HOME
=
`
dirname
${
(%)
:-
%x
}
| xargs
realpath
`
else
echo
"WARNING: non-bash shell; need source setup.sh from the TaPaSCo root dir!"
export
TAPASCO_HOME
=
$PWD
...
...
Jens Korinth
@jk
mentioned in commit
a831b501
·
Jul 14, 2017
mentioned in commit
a831b501
mentioned in commit a831b5015df6bd8f8d23ddd334a3b1159392de92
Toggle commit list
Write
Preview
Markdown
is supported
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