unquote variables

This commit is contained in:
Jose Diaz-Gonzalez
2015-01-16 17:07:51 -05:00
parent dc64759a97
commit e35493e248

View File

@@ -38,13 +38,13 @@ if [[ ! -z $DOKKU_HOST ]]; then
fi fi
if [[ -z "$donotshift" ]]; then if [[ -z "$donotshift" ]]; then
ssh dokku@$DOKKU_HOST "$*" ssh dokku@$DOKKU_HOST $*
exit $? exit $?
fi fi
verb=$1 verb=$1
shift shift
ssh dokku@$DOKKU_HOST "$verb" "$appname" "$@" ssh dokku@$DOKKU_HOST "$verb" "$appname" $@
} }
if [[ "$0" == "dokku" ]] || [[ "$0" == *dokku_client.sh ]]; then if [[ "$0" == "dokku" ]] || [[ "$0" == *dokku_client.sh ]]; then