mirror of
https://github.com/dokku/dokku.git
synced 2025-12-29 00:25:08 +01:00
pass in ENV_FILE to config_create
This commit is contained in:
@@ -59,7 +59,7 @@ is_config_export() {
|
||||
case "$1" in
|
||||
config)
|
||||
config_parse_args "$@"
|
||||
config_create
|
||||
config_create "$ENV_FILE"
|
||||
is_config_export "$@" && config_export "$DOKKU_CONFIG_TYPE" "$APP" && exit 0
|
||||
|
||||
[[ "$APP" ]] && DOKKU_CONFIG_TYPE=$APP
|
||||
@@ -88,7 +88,7 @@ case "$1" in
|
||||
exit 1
|
||||
fi
|
||||
|
||||
config_create
|
||||
config_create "$ENV_FILE"
|
||||
if [[ ! -s $ENV_FILE ]] ; then
|
||||
exit 0
|
||||
fi
|
||||
@@ -108,7 +108,7 @@ case "$1" in
|
||||
exit 1
|
||||
fi
|
||||
|
||||
config_create
|
||||
config_create "$ENV_FILE"
|
||||
ENV_ADD=""
|
||||
ENV_TEMP=$(cat "${ENV_FILE}")
|
||||
RESTART_APP=false
|
||||
@@ -161,7 +161,7 @@ ${var}"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
config_create
|
||||
config_create "$ENV_FILE"
|
||||
ENV_TEMP=$(cat "${ENV_FILE}")
|
||||
VARS="${*:3}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user