aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2014-02-25 06:45:23 -0800
committerAdam Vandenberg2014-02-27 08:21:19 -0800
commit0fbc78918e51252f099b6bfa0a2966a0820a09c5 (patch)
tree471bfcd196ceba6502ddf6f338167fbac24dc434 /Library/Formula
parent2199f1d29e2da9833c3b0cf35319002c0cf40338 (diff)
downloadhomebrew-0fbc78918e51252f099b6bfa0a2966a0820a09c5.tar.bz2
itstool: use Formula[]
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/itstool.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/itstool.rb b/Library/Formula/itstool.rb
index c154c05c3..1ebc93075 100644
--- a/Library/Formula/itstool.rb
+++ b/Library/Formula/itstool.rb
@@ -16,7 +16,7 @@ class Itstool < Formula
depends_on 'libxml2' => 'with-python'
def install
- ENV.append_path 'PYTHONPATH', "#{Formula.factory('libxml2').lib}/python2.7/site-packages"
+ ENV.append_path 'PYTHONPATH', "#{Formula["libxml2"].lib}/python2.7/site-packages"
system "./autogen.sh" if build.head?
system "./configure", "--prefix=#{prefix}"