aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2014-02-24 22:50:39 -0800
committerAdam Vandenberg2014-02-27 08:21:18 -0800
commit103bd9babd0c43ef41160d15ab06d295598ccd88 (patch)
tree6e49257e36b8356ee7cad752fb6b1b87cd73f964
parentd1cd9c702bf40c1bca870647f844ca6df851133b (diff)
downloadhomebrew-103bd9babd0c43ef41160d15ab06d295598ccd88.tar.bz2
trafshow: use Formula[]
-rw-r--r--Library/Formula/trafshow.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/trafshow.rb b/Library/Formula/trafshow.rb
index ce15e46ea..f242485c5 100644
--- a/Library/Formula/trafshow.rb
+++ b/Library/Formula/trafshow.rb
@@ -17,7 +17,7 @@ class Trafshow < Formula
def copy_libtool_files!
if not MacOS::Xcode.provides_autotools?
- s = Formula.factory('libtool').share
+ s = Formula['libtool'].share
d = "#{s}/libtool/config"
cp ["#{d}/config.guess", "#{d}/config.sub"], "."
elsif MacOS.version <= :leopard