From 5d562001796d498993b94194d2765323b6e18735 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz <me@kennethreitz.com> Date: Tue, 16 Jul 2013 16:54:33 -0400 Subject: [PATCH] bugfix for legacy apps + usr_env_compile --- bin/compile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bin/compile b/bin/compile index 3e604b26..6de6509e 100755 --- a/bin/compile +++ b/bin/compile @@ -39,7 +39,8 @@ export BPWATCH_STORE_PATH=$CACHE_DIR/bpwatch.json [ ! "$REQUEST_ID" ] && REQUEST_ID=$SLUG_ID - +# Sanitizing environment variables. +unset GIT_DIR PYTHONHOME PYTHONPATH LD_LIBRARY_PATH LIBRARY_PATH bpwatch init $LOGPLEX_KEY bpwatch build python $BUILDPACK_VERSION $REQUEST_ID @@ -48,9 +49,6 @@ TMP_APP_DIR=$CACHE_DIR/tmp_app_dir bpwatch start compile -# Sanitizing environment variables. -unset GIT_DIR PYTHONHOME PYTHONPATH LD_LIBRARY_PATH LIBRARY_PATH - # We'll need to send these statics to other scripts we `source`. export BUILD_DIR CACHE_DIR BIN_DIR PROFILE_PATH -- GitLab