recode: use Formula[]

This commit is contained in:
Adam Vandenberg 2014-02-24 22:49:23 -08:00
parent 94b649d992
commit 6afdf9a386

View file

@ -11,7 +11,7 @@ class Recode < 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