mirror of
https://github.com/dokku/dokku.git
synced 2025-12-28 16:06:40 +01:00
Handle for installs in /usr/local/bin and the like.
This commit is contained in:
@@ -119,7 +119,7 @@ if [[ ! -z $DOKKU_HOST ]]; then
|
||||
ssh -t "dokku@$DOKKU_HOST" $long_args "$verb" "$appname" "${args[@]}"
|
||||
}
|
||||
|
||||
if [[ "$0" == "dokku" ]] || [[ "$0" == *dokku_client.sh ]]; then
|
||||
if [[ "$0" == "dokku" ]] || [[ "$0" == *dokku_client.sh ]] || [[ "$0" == `which dokku` ]]; then
|
||||
_dokku "$@"
|
||||
exit $?
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user