Skip to content
Snippets Groups Projects
Commit a91e9c2f authored by Tom van Neerijnen's avatar Tom van Neerijnen
Browse files

export BUILD_DIR and friends after context change

Anything using theses exported variables should be using them in the new
context rather than the old
parent da96cdf2
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment