aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2014-01-04 13:06:13 +0000
committerMike McQuaid2014-01-04 13:19:22 +0000
commit23720b4df1952c8a9be82c7a80aece47294c59b0 (patch)
tree8fae9a6f1e61a587deb6debc2770a198934de746 /Library/Formula
parent80b782c9a42e3cb638277eb5592a38969d9b78c4 (diff)
downloadhomebrew-23720b4df1952c8a9be82c7a80aece47294c59b0.tar.bz2
git: cleanup python usage.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/git.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Formula/git.rb b/Library/Formula/git.rb
index ed79be53f..3cf570444 100644
--- a/Library/Formula/git.rb
+++ b/Library/Formula/git.rb
@@ -18,7 +18,6 @@ class Git < Formula
option 'with-brewed-curl', "Use Homebrew's version of cURL library"
option 'with-persistent-https', 'Build git-remote-persistent-https from "contrib" directory'
- depends_on :python
depends_on 'pcre' => :optional
depends_on 'gettext' => :optional
depends_on 'openssl' if build.with? 'brewed-openssl'
@@ -52,7 +51,7 @@ class Git < Formula
ENV['NO_DARWIN_PORTS'] = '1'
ENV['V'] = '1' # build verbosely
ENV['NO_R_TO_GCC_LINKER'] = '1' # pass arguments to LD correctly
- ENV['PYTHON_PATH'] = python.binary if python
+ ENV['PYTHON_PATH'] = which 'python'
ENV['PERL_PATH'] = which 'perl'
if MacOS.version >= :mavericks and MacOS.dev_tools_prefix