Unset runtime-specific variables.

Fixes #37
This commit is contained in:
Kenneth Reitz
2012-05-02 12:49:11 -04:00
parent 20e0af2bf4
commit 7ea8c861a2
+3 -1
View File
@@ -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