diff options
| author | Adam Vandenberg | 2014-02-25 06:38:06 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2014-02-27 08:21:19 -0800 |
| commit | 2199f1d29e2da9833c3b0cf35319002c0cf40338 (patch) | |
| tree | 01f239d1d5cb75c0f9b2b71dffd41483c7a31201 /Library/Formula | |
| parent | 1e26738f25b9773249c9124a9c3fe448e675ba3d (diff) | |
| download | homebrew-2199f1d29e2da9833c3b0cf35319002c0cf40338.tar.bz2 | |
htmlcompressor: use Formula[]
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/htmlcompressor.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/htmlcompressor.rb b/Library/Formula/htmlcompressor.rb index 41258f4eb..efe44a05a 100644 --- a/Library/Formula/htmlcompressor.rb +++ b/Library/Formula/htmlcompressor.rb @@ -16,13 +16,13 @@ class Htmlcompressor < Formula bin.write_jar_script libexec/"htmlcompressor-#{version}.jar", "htmlcompressor" if build.include? 'yuicompressor' - yui = Formula.factory('yuicompressor') + yui = Formula["yuicompressor"] yui_jar = "yuicompressor-#{yui.version}.jar" ln_s "#{yui.opt_prefix}/libexec/#{yui_jar}", "#{libexec}/#{yui_jar}" end if build.include? 'closure-compiler' - closure = Formula.factory('closure-compiler') + closure = Formula["closure-compiler"] ln_s "#{closure.opt_prefix}/libexec/build/compiler.jar", "#{libexec}/compiler.jar" end end |
