aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2014-02-25 06:38:06 -0800
committerAdam Vandenberg2014-02-27 08:21:19 -0800
commit2199f1d29e2da9833c3b0cf35319002c0cf40338 (patch)
tree01f239d1d5cb75c0f9b2b71dffd41483c7a31201 /Library
parent1e26738f25b9773249c9124a9c3fe448e675ba3d (diff)
downloadhomebrew-2199f1d29e2da9833c3b0cf35319002c0cf40338.tar.bz2
htmlcompressor: use Formula[]
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/htmlcompressor.rb4
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