From 58ece39cfac5da0d68b7ccbd18f81272dfb8f25a Mon Sep 17 00:00:00 2001 From: "Michael Bradley, Jr" Date: Wed, 25 Jul 2018 15:16:58 -0500 Subject: [PATCH] properly handle $@ --- run.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/run.sh b/run.sh index dca0d73..7096314 100755 --- a/run.sh +++ b/run.sh @@ -69,12 +69,7 @@ run_embark () { local EMBARK_DOCKER_IMAGE=${EMBARK_DOCKER_IMAGE:-statusim/embark} local EMBARK_DOCKER_TAG=${EMBARK_DOCKER_TAG:-latest} - local -a cmd= - if [[ "$1" = "demo" ]]; then - cmd=( $(echo "embark $@") ) - else - cmd=( $(echo "$@") ) - fi + local -a cmd=( "$@" ) case $1 in -V|--version|-h|--help|new|demo|build|run|blockchain|simulator|test|\ reset|graph|upload|version) cmd=( "embark" "$cmd" );;