aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2014-02-24 22:15:33 -0800
committerAdam Vandenberg2014-02-27 08:21:17 -0800
commit25706714a7b1915e8d91444f41c64e951f47c278 (patch)
tree4a7bf5ca8fb9b00cc24fc64e07ddc5ad9263ff2c
parenteed55a157e007fbc2c033c473bd39084fad966d1 (diff)
downloadhomebrew-25706714a7b1915e8d91444f41c64e951f47c278.tar.bz2
git: use Formula[]
-rw-r--r--Library/Formula/git.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/git.rb b/Library/Formula/git.rb
index 71a102b8a..0882ad153 100644
--- a/Library/Formula/git.rb
+++ b/Library/Formula/git.rb
@@ -55,7 +55,7 @@ class Git < Formula
if build.with? 'pcre'
ENV['USE_LIBPCRE'] = '1'
- ENV['LIBPCREDIR'] = Formula.factory('pcre').opt_prefix
+ ENV['LIBPCREDIR'] = Formula['pcre'].opt_prefix
end
ENV['NO_GETTEXT'] = '1' unless build.with? 'gettext'