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
2017-03-20 09:43:37 -06:00
committed by GitHub

View File

@@ -56,7 +56,7 @@ fn-dokku-host() {
if [[ -z "$DOKKU_HOST" ]]; then
fn-client-help-msg
fi
echo "$DOKKU_HOST"
}
@@ -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