Use dokku config when building build-env

This commit is contained in:
Jose Diaz-Gonzalez
2015-08-20 23:27:45 -04:00
parent 66ad7d0985
commit d4c122c277

View File

@@ -11,12 +11,12 @@ dokku config:get --global CURL_TIMEOUT > /dev/null 2>&1 || dokku config:set --gl
if [[ -n $(dokku config --global --export) ]]; then
BUILD_ENV+=$'\n'
BUILD_ENV+=$(< "$DOKKU_ROOT/ENV")
BUILD_ENV+=$(dokku config --global --export)
BUILD_ENV+=$'\n'
fi
if [[ -n $(dokku config $APP --export) ]]; then
BUILD_ENV+=$'\n'
BUILD_ENV+=$(< "$DOKKU_ROOT/$APP/ENV")
BUILD_ENV+=$(dokku config $APP --export)
BUILD_ENV+=$'\n'
fi