Fix remote name when using --remote option with apps:create

This commit is contained in:
Pedro Valentim
2017-03-20 13:11:14 +00:00
parent 6e4f023a7b
commit 85e5bd7c86

View File

@@ -125,7 +125,7 @@ main() {
else
APP="$APP_ARG"
fi
if git remote add dokku "dokku@$DOKKU_REMOTE_HOST:$APP"; then
if git remote add $DOKKU_GIT_REMOTE "dokku@$DOKKU_REMOTE_HOST:$APP"; then
echo "-----> Dokku remote added at ${DOKKU_REMOTE_HOST} called ${DOKKU_GIT_REMOTE}"
echo "-----> Application name is ${APP}"
else