diff options
author | Alex Auvolat <alex@adnab.me> | 2020-11-20 23:50:23 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-11-20 23:50:23 +0100 |
commit | 98e20a5898602d7312093246cb32ef39e619bbc5 (patch) | |
tree | b703c0901ea7f23f24029ef1adb05b451dfb874a /script/dev-cluster.sh | |
parent | 165cef3785862a622c5b4bc027ba16527970a814 (diff) | |
download | garage-98e20a5898602d7312093246cb32ef39e619bbc5.tar.gz garage-98e20a5898602d7312093246cb32ef39e619bbc5.zip |
Fix dev-env.sh for source; print which garage in dev-cluster.sh
Diffstat (limited to 'script/dev-cluster.sh')
-rwxr-xr-x | script/dev-cluster.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/script/dev-cluster.sh b/script/dev-cluster.sh index 756af234..cfe9be0d 100755 --- a/script/dev-cluster.sh +++ b/script/dev-cluster.sh @@ -13,6 +13,9 @@ export RUST_BACKTRACE=1 export RUST_LOG=garage=info MAIN_LABEL="\e[${FANCYCOLORS[0]}[main]\e[49m" +WHICH_GARAGE=$(which garage || exit 1) +echo -en "${MAIN_LABEL} Found garage at: ${WHICH_GARAGE}\n" + for count in $(seq 1 3); do CONF_PATH="/tmp/config.$count.toml" LABEL="\e[${FANCYCOLORS[$count]}[$count]\e[49m" |