From dc64759a97d9265b2d049e52722712d3639e08d5 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Wed, 14 Jan 2015 12:45:46 -0500 Subject: [PATCH] Use doublequotes to prevent whitespace problems --- contrib/dokku_client.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/dokku_client.sh b/contrib/dokku_client.sh index c7be9e289..fe4b77152 100755 --- a/contrib/dokku_client.sh +++ b/contrib/dokku_client.sh @@ -38,17 +38,17 @@ if [[ ! -z $DOKKU_HOST ]]; then fi if [[ -z "$donotshift" ]]; then - ssh dokku@$DOKKU_HOST $* + ssh dokku@$DOKKU_HOST "$*" exit $? fi verb=$1 shift - ssh dokku@$DOKKU_HOST "$verb" "$appname" $@ + ssh dokku@$DOKKU_HOST "$verb" "$appname" "$@" } if [[ "$0" == "dokku" ]] || [[ "$0" == *dokku_client.sh ]]; then - _dokku $@ + _dokku "$@" exit $? fi fi