Use dokku config when building build-env

This commit is contained in:
Jose Diaz-Gonzalez committed 2015-08-30 01:23:56 -04:00
1 parent 66ad7d0985
commit d4c122c277
1 file changed
+2 -2
+2 -2
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 if [[ -n $(dokku config --global --export) ]]; then
BUILD_ENV+=$'\n' BUILD_ENV+=$'\n'
BUILD_ENV+=$(< "$DOKKU_ROOT/ENV") BUILD_ENV+=$(dokku config --global --export)
BUILD_ENV+=$'\n' BUILD_ENV+=$'\n'
fi fi
if [[ -n $(dokku config $APP --export) ]]; then if [[ -n $(dokku config $APP --export) ]]; then
BUILD_ENV+=$'\n' BUILD_ENV+=$'\n'
BUILD_ENV+=$(< "$DOKKU_ROOT/$APP/ENV") BUILD_ENV+=$(dokku config $APP --export)
BUILD_ENV+=$'\n' BUILD_ENV+=$'\n'
fi fi