aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/htmlcompressor.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/htmlcompressor.rb')
-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 cc8d72147..e90ed6496 100644
--- a/Library/Formula/htmlcompressor.rb
+++ b/Library/Formula/htmlcompressor.rb
@@ -6,10 +6,10 @@ class Htmlcompressor < Formula
md5 '91575c89c83d0563dcf2aad409e4748f'
def install
- libexec.install "htmlcompressor-1.5.2.jar"
+ libexec.install "htmlcompressor-#{version}.jar"
(bin+'htmlcompressor').write <<-EOS.undent
#!/bin/sh
- java -jar "#{libexec}/htmlcompressor-1.5.2.jar" $@
+ java -jar "#{libexec}/htmlcompressor-#{version}.jar" $@
EOS
end
end