aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/python3.rb
diff options
context:
space:
mode:
authorMisty De Meo2014-01-27 13:06:11 -0800
committerMisty De Meo2014-01-27 13:06:56 -0800
commit1fbef27dfb69a21d9e6797e700a2a1dd9b3a2fe4 (patch)
tree976be66616c02e98dfb36b4e9cb7ed804b765534 /Library/Formula/python3.rb
parente7d16c0de6391a7a58fbdd9683732acce74ec8f0 (diff)
downloadhomebrew-1fbef27dfb69a21d9e6797e700a2a1dd9b3a2fe4.tar.bz2
python3: use real pre-existing python
Diffstat (limited to 'Library/Formula/python3.rb')
-rw-r--r--Library/Formula/python3.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/python3.rb b/Library/Formula/python3.rb
index b68a49627..063c52e3d 100644
--- a/Library/Formula/python3.rb
+++ b/Library/Formula/python3.rb
@@ -67,6 +67,10 @@ class Python3 < Formula
ENV['PYTHONHOME'] = nil
ENV['PYTHONPATH'] = nil
+ # Otherwise the formula may attempt to use the python3 shim
+ # even though python3 isn't installed yet
+ ENV['PYTHON'] = 'python'
+
args = %W[
--prefix=#{prefix}
--enable-ipv6