diff options
| author | Adam Vandenberg | 2012-03-03 15:50:27 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2012-03-06 06:53:07 -0800 |
| commit | 841324b880c4fa5a7e86beca38152e42467598b9 (patch) | |
| tree | 02f9a25c770c93cc37bdd4a2c0d545e01579f3b3 /Library/Formula/git.rb | |
| parent | 9cf15ae6dccd02aca662e118354457a3ae070630 (diff) | |
| download | homebrew-841324b880c4fa5a7e86beca38152e42467598b9.tar.bz2 | |
use which method
Diffstat (limited to 'Library/Formula/git.rb')
| -rw-r--r-- | Library/Formula/git.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/git.rb b/Library/Formula/git.rb index cb9bf96b8..411514cd0 100644 --- a/Library/Formula/git.rb +++ b/Library/Formula/git.rb @@ -32,7 +32,7 @@ class Git < Formula ENV['NO_R_TO_GCC_LINKER'] = '1' # pass arguments to LD correctly ENV['NO_GETTEXT'] = '1' # workaround for users of perlbrew - ENV['PERL_PATH'] = `/usr/bin/which perl`.chomp + ENV['PERL_PATH'] = which 'perl' # Clean XCode 4.x installs don't include Perl MakeMaker ENV['NO_PERL_MAKEMAKER']='1' if MacOS.lion? |
