Use doublequotes to prevent whitespace problems

This commit is contained in:
Jose Diaz-Gonzalez committed 2015-01-16 16:57:26 -05:00
1 parent 45120c5e43
commit dc64759a97
1 file changed
+3 -3
+3 -3
View File
@@ -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