aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libtool.rb
diff options
context:
space:
mode:
authorJack Nagel2012-02-27 14:08:58 -0600
committerJack Nagel2012-02-27 14:11:01 -0600
commite4fd3f42b1f4ae503fc97e3d1b2dbc7303cfc376 (patch)
treef266f95b41e3ca4c5cc7d8f6c86ce9cbc841780a /Library/Formula/libtool.rb
parentd72e21fc154f279828e03053014b8053fe9a077a (diff)
downloadhomebrew-e4fd3f42b1f4ae503fc97e3d1b2dbc7303cfc376.tar.bz2
Use cellar paths in tests
This lets `brew test` work when these are keg-only, etc. Also fix a couple of typos and style things. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/libtool.rb')
-rw-r--r--Library/Formula/libtool.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Formula/libtool.rb b/Library/Formula/libtool.rb
index a60ca805e..ed24001e0 100644
--- a/Library/Formula/libtool.rb
+++ b/Library/Formula/libtool.rb
@@ -9,8 +9,8 @@ class Libtool < Formula
mirror 'http://ftp.gnu.org/gnu/libtool/libtool-2.4.tar.gz'
md5 'b32b04148ecdd7344abc6fe8bd1bb021'
- if MacOS.xcode_version.to_f < 4.3 or File.file? "/usr/bin/libtoolize"
- keg_only "Xcode (up to and including 4.2) provides (a rather old) Autoconf."
+ if MacOS.xcode_version.to_f < 4.3 or File.file? "/usr/bin/glibtoolize"
+ keg_only "Xcode (up to and including 4.2) provides (a rather old) Libtool."
end
def install
@@ -27,6 +27,6 @@ class Libtool < Formula
end
def test
- system "#{HOMEBREW_PREFIX}/bin/glibtoolize --version"
+ system "#{bin}/glibtoolize --version"
end
end