We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cc7708 commit 94cb39bCopy full SHA for 94cb39b
.spin/bin/env
@@ -1,3 +1,4 @@
1
+# $BASH_SOURCE[0] is for Bash, ${(%):-%x} is for Zsh
2
SCRIPT_PATH=$(dirname "${BASH_SOURCE[0]:-${(%):-%x}}")
3
SCRIPT_PATH=$(cd "$SCRIPT_PATH" && pwd)
4
TRUFFLERUBY_DIR=$SCRIPT_PATH/../..
0 commit comments