Merge pull request #2664 from pvalentim/fix-remote-option

Fix remote name when using --remote option with apps:create
This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2017-03-20 09:43:37 -06:00
commit 8d83803763
1 file changed
+2 -2
+2 -2
View File
@@ -56,7 +56,7 @@ fn-dokku-host() {
if [[ -z "$DOKKU_HOST" ]]; then if [[ -z "$DOKKU_HOST" ]]; then
fn-client-help-msg fn-client-help-msg
fi fi
echo "$DOKKU_HOST" echo "$DOKKU_HOST"
} }
@@ -125,7 +125,7 @@ main() {
else else
APP="$APP_ARG" APP="$APP_ARG"
fi 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 "-----> Dokku remote added at ${DOKKU_REMOTE_HOST} called ${DOKKU_GIT_REMOTE}"
echo "-----> Application name is ${APP}" echo "-----> Application name is ${APP}"
else else