mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-06-28 17:43:09 -04:00
generate $WALLY in a way that works for bash and zsh
This commit is contained in:
parent
3601cc54ab
commit
e2d2dbad10
1 changed files with 1 additions and 1 deletions
2
setup.sh
2
setup.sh
|
@ -7,7 +7,7 @@
|
||||||
echo "Executing Wally setup.sh"
|
echo "Executing Wally setup.sh"
|
||||||
|
|
||||||
# Path to Wally repository
|
# Path to Wally repository
|
||||||
WALLY=$(dirname ${BASH_SOURCE})
|
WALLY=$(dirname ${BASH_SOURCE[0]:-$0})
|
||||||
export WALLY=$(cd "$WALLY" && pwd)
|
export WALLY=$(cd "$WALLY" && pwd)
|
||||||
echo \$WALLY set to ${WALLY}
|
echo \$WALLY set to ${WALLY}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue