From 87a786fec5c9b8725b31c3235795e86907288783 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Thu, 7 Jan 2021 05:05:56 -0500 Subject: [PATCH] fix: get arguments correctly --- plugins/git/internal-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/git/internal-functions b/plugins/git/internal-functions index d7c9297a4..c3f4f6a6d 100755 --- a/plugins/git/internal-functions +++ b/plugins/git/internal-functions @@ -188,7 +188,7 @@ EOF fn-git-clone() { declare desc="creates an app from remote git repo" - declare APP="$1" GIT_REMOTE="$2" GIT_REF="$2" + declare APP="$1" GIT_REMOTE="$2" GIT_REF="$3" local APP_CLONE_ROOT="$DOKKU_LIB_ROOT/data/git/$APP" local APP_ROOT="$DOKKU_ROOT/$APP" [[ -z "$APP" ]] && dokku_log_fail "Please specify an app to run the command on"