pass in ENV_FILE to config_create

This commit is contained in:
Jose Diaz-Gonzalez
2015-08-31 23:05:47 -04:00
parent 99f1f1b6d3
commit c32bf8f035

View File

@@ -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}"