Use doublequotes to prevent whitespace problems
This commit is contained in:
1 parent
45120c5e43
commit
dc64759a97
1 file changed
+3
-3
@@ -38,17 +38,17 @@ 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
|
||||||
_dokku $@
|
_dokku "$@"
|
||||||
exit $?
|
exit $?
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
Reference in new issue
Block a user