From e9668843816af0b61906b2bcdd97cea88072625b Mon Sep 17 00:00:00 2001 From: Joachim Ansorg Date: Tue, 16 Oct 2018 09:33:11 +0000 Subject: [PATCH] Wrap the path in quotes to handle whitespace in the path to the current script. --- scripts/alphanet.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/alphanet.sh b/scripts/alphanet.sh index fef5a77b8..61ad1b621 100755 --- a/scripts/alphanet.sh +++ b/scripts/alphanet.sh @@ -607,7 +607,7 @@ fi command="$1" if [ "$#" -eq 0 ] ; then usage ; exit 1; else shift ; fi -case $(basename $0) in +case $(basename "$0") in localnet.sh) docker_base_dir="$HOME/.tezos-localnet" docker_image=tezos:latest