Wrap the path in quotes to handle whitespace in the path to the current script.

This commit is contained in:
Joachim Ansorg 2018-10-16 09:33:11 +00:00 committed by Pierre Boutillier
parent 22bba18236
commit e966884381
No known key found for this signature in database
GPG Key ID: C2F73508B56A193C

View File

@ -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