aboutsummaryrefslogtreecommitdiff
path: root/script/dev-env.sh
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-11-20 23:50:23 +0100
committerAlex Auvolat <alex@adnab.me>2020-11-20 23:50:23 +0100
commit98e20a5898602d7312093246cb32ef39e619bbc5 (patch)
treeb703c0901ea7f23f24029ef1adb05b451dfb874a /script/dev-env.sh
parent165cef3785862a622c5b4bc027ba16527970a814 (diff)
downloadgarage-98e20a5898602d7312093246cb32ef39e619bbc5.tar.gz
garage-98e20a5898602d7312093246cb32ef39e619bbc5.zip
Fix dev-env.sh for source; print which garage in dev-cluster.sh
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/"