From d4c122c277ca91c4397691a71f5d3da11eb546b8 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Thu, 20 Aug 2015 23:27:45 -0400 Subject: [PATCH] Use dokku config when building build-env --- plugins/build-env/pre-build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/build-env/pre-build b/plugins/build-env/pre-build index 1bf72de9b..de761a418 100755 --- a/plugins/build-env/pre-build +++ b/plugins/build-env/pre-build @@ -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