aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorTim D. Smith2015-09-10 13:25:06 -0700
committerTim D. Smith2015-09-10 23:10:26 -0700
commitc7d82a388171f56658597ebac21ba4884767e4d2 (patch)
tree85e65f815a8c89b9f5d1dfdbe1b47c881c008f65 /Library
parent5997812ed23164cf3f52fe328ec665fe8cf70622 (diff)
downloadbrew-c7d82a388171f56658597ebac21ba4884767e4d2.tar.bz2
env block is not inherited
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/requirements/python_requirement.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Homebrew/requirements/python_requirement.rb b/Library/Homebrew/requirements/python_requirement.rb
index f41722782..4faf78dfa 100644
--- a/Library/Homebrew/requirements/python_requirement.rb
+++ b/Library/Homebrew/requirements/python_requirement.rb
@@ -24,9 +24,7 @@ class PythonRequirement < Requirement
ENV.prepend_path "PATH", Formula["python"].opt_bin
end
- if python_binary == "python"
- ENV["PYTHONPATH"] = "#{HOMEBREW_PREFIX}/lib/python#{short_version}/site-packages"
- end
+ ENV["PYTHONPATH"] = "#{HOMEBREW_PREFIX}/lib/python#{short_version}/site-packages"
end
def python_short_version