aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorSamuel John2013-08-08 12:09:07 +0200
committerSamuel John2013-08-08 12:22:49 +0200
commit8212f641b10db42474fb569d77ffcfb3e93ed7fd (patch)
tree013ad62a69a432b6b362356ae152639f3ac75084 /Library/Formula
parentc7e4955b907361d7d21a6c2703c809f1582fd800 (diff)
downloadhomebrew-8212f641b10db42474fb569d77ffcfb3e93ed7fd.tar.bz2
python3: Harden build by unsetting PYTHONPATH
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/python3.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Formula/python3.rb b/Library/Formula/python3.rb
index d09cb3f8b..4fbae4083 100644
--- a/Library/Formula/python3.rb
+++ b/Library/Formula/python3.rb
@@ -66,6 +66,7 @@ class Python3 < Formula
# Unset these so that installing pip and setuptools puts them where we want
# and not into some other Python the user has installed.
ENV['PYTHONHOME'] = nil
+ ENV['PYTHONPATH'] = nil
args = %W[
--prefix=#{prefix}