From 03e18ff0f85113651475dbe3b4edef15565cb533 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Tue, 17 Mar 2020 13:47:51 +0100 Subject: [PATCH] Shorten client script --- sbin/{dokku_client.sh => dokku.sh} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename sbin/{dokku_client.sh => dokku.sh} (98%) diff --git a/sbin/dokku_client.sh b/sbin/dokku.sh similarity index 98% rename from sbin/dokku_client.sh rename to sbin/dokku.sh index d5fc1c5..7b08a23 100755 --- a/sbin/dokku_client.sh +++ b/sbin/dokku.sh @@ -149,7 +149,7 @@ main() { ssh -o LogLevel=QUIET -p $DOKKU_PORT -t dokku@$DOKKU_REMOTE_HOST -- $app_arg $@ } -if [[ "$0" == "dokku" ]] || [[ "$0" == *dokku_client.sh ]] || [[ "$0" == $(which dokku) ]]; then +if [[ "$0" == "dokku" ]] || [[ "$0" == *dokku.sh ]] || [[ "$0" == $(which dokku) ]]; then main "$@" exit $? fi