yuicompressor: fix quoting

This commit is contained in:
Adam Vandenberg 2012-02-11 15:40:38 -08:00
parent c26d1123e3
commit 03b802b171

View file

@ -1,15 +1,15 @@
require 'formula'
class Yuicompressor < Formula
url 'http://yui.zenfs.com/releases/yuicompressor/yuicompressor-2.4.7.zip'
homepage 'http://yuilibrary.com/projects/yuicompressor'
url 'http://yui.zenfs.com/releases/yuicompressor/yuicompressor-2.4.7.zip'
md5 '885657c68ed617737e730b4c2ce52dda'
def install
libexec.install "build/yuicompressor-2.4.7.jar"
(bin+'yuicompressor').write <<-EOS.undent
#!/bin/sh
java -jar "#{libexec}/yuicompressor-2.4.7.jar" $@
java -jar "#{libexec}/yuicompressor-2.4.7.jar" "$@"
EOS
end
end