From 7ea8c861a2d49a1137b5fcb379d0fe4dbdab83d7 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz <me@kennethreitz.com> Date: Wed, 2 May 2012 12:49:11 -0400 Subject: [PATCH] Unset runtime-specific variables. Fixes #37 --- bin/compile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/compile b/bin/compile index e8c11a11..66ed77a4 100755 --- a/bin/compile +++ b/bin/compile @@ -59,8 +59,10 @@ LEGACY_VIRTUALENV_TRIGGER="lib/python2.7" PYTHON_VERSION="2.7.2" PYTHON_EXE="python2.7" -# The slug compiler doesn't do a very good job of sanitizing environment variables. +# Sanitizing environment variables. unset GIT_DIR +unset PYTHON_HOME +unset PYTHONPATH # We'll need to send these statics to other scripts we `source`. export PIP_DOWNLOAD_CACHE -- GitLab