aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2012-04-16 13:22:09 -0500
committerJack Nagel2012-04-16 13:22:09 -0500
commitebf05765876499de47bd02ff1c59e4ae68e68981 (patch)
tree894880e263f2933fade2100054beee70badd0c08 /Library
parent697dab5afcecd4aefcb5301953d5488b3718c0d4 (diff)
downloadhomebrew-ebf05765876499de47bd02ff1c59e4ae68e68981.tar.bz2
git: use whichever python is in the PATH
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/git.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/git.rb b/Library/Formula/git.rb
index 70fe8b3fa..089e2d8dc 100644
--- a/Library/Formula/git.rb
+++ b/Library/Formula/git.rb
@@ -33,8 +33,8 @@ class Git < Formula
ENV['V'] = '1' # build verbosely
ENV['NO_R_TO_GCC_LINKER'] = '1' # pass arguments to LD correctly
ENV['NO_GETTEXT'] = '1'
- # workaround for users of perlbrew
- ENV['PERL_PATH'] = which 'perl'
+ ENV['PERL_PATH'] = which 'perl' # workaround for users of perlbrew
+ ENV['PYTHON_PATH'] = which 'python' # python can be brewed or unbrewed
# Clean XCode 4.x installs don't include Perl MakeMaker
ENV['NO_PERL_MAKEMAKER']='1' if MacOS.lion?