aboutsummaryrefslogtreecommitdiff
path: root/script/dev-env.sh
diff options
context:
space:
mode:
Diffstat (limited to 'script/dev-env.sh')
-rwxr-xr-xscript/dev-env.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/dev-env.sh b/script/dev-env.sh
index 15cb965a..7e8ffc50 100755
--- a/script/dev-env.sh
+++ b/script/dev-env.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-SCRIPT_FOLDER="`dirname \"$0\"`"
+SCRIPT_FOLDER="`dirname \"${BASH_SOURCE[0]}\"`"
REPO_FOLDER="${SCRIPT_FOLDER}/../"
GARAGE_DEBUG="${REPO_FOLDER}/target/debug/"
GARAGE_RELEASE="${REPO_FOLDER}/target/release/"