diff --git a/bin/compile b/bin/compile index 02602382a58f2e2df70701969a6f426feaab5857..5a94069df652f7d8fdf8df3a50bd23f27a2bb856 100755 --- a/bin/compile +++ b/bin/compile @@ -55,10 +55,6 @@ TMP_APP_DIR=$CACHE_DIR/tmp_app_dir bpwatch start compile - -# We'll need to send these statics to other scripts we `source`. -export BUILD_DIR CACHE_DIR BIN_DIR PROFILE_PATH - # Syntax sugar. source $BIN_DIR/utils @@ -94,6 +90,9 @@ BUILD_DIR=$APP_DIR PROFILE_PATH="$BUILD_DIR/.profile.d/python.sh" WEBCONCURRENCY_PROFILE_PATH="$BUILD_DIR/.profile.d/python.webconcurrency.sh" +# We'll need to send these statics to other scripts we `source`. +export BUILD_DIR CACHE_DIR BIN_DIR PROFILE_PATH + # Prepend proper path buildpack use. export PATH=$BUILD_DIR/.heroku/python/bin:$BUILD_DIR/.heroku/vendor/bin:$PATH export PYTHONUNBUFFERED=1