Use doublequotes to prevent whitespace problems

This commit is contained in:
Jose Diaz-Gonzalez
2015-01-14 12:45:46 -05:00
parent 45120c5e43
commit dc64759a97

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