aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/rhino.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2012-02-11 15:38:15 -0800
committerAdam Vandenberg2012-02-11 15:38:15 -0800
commit0afe8b3883a3862be8826da63b448be53b72c079 (patch)
treec7aa7a71e7ad33e28909b1a338b7b1d0f0af1d69 /Library/Formula/rhino.rb
parent7f5013412f07a5a8f32ba510183b77a80b80c8d2 (diff)
downloadhomebrew-0afe8b3883a3862be8826da63b448be53b72c079.tar.bz2
rhino: fix quoting
Diffstat (limited to 'Library/Formula/rhino.rb')
-rw-r--r--Library/Formula/rhino.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Formula/rhino.rb b/Library/Formula/rhino.rb
index 887883852..1e252a042 100644
--- a/Library/Formula/rhino.rb
+++ b/Library/Formula/rhino.rb
@@ -1,16 +1,16 @@
require 'formula'
class Rhino < Formula
- url 'ftp://ftp.mozilla.org/pub/mozilla.org/js/rhino1_7R3.zip'
homepage 'http://www.mozilla.org/rhino/'
+ url 'ftp://ftp.mozilla.org/pub/mozilla.org/js/rhino1_7R3.zip'
md5 '99d94103662a8d0b571e247a77432ac5'
version '1.7R3'
def install
libexec.install 'js.jar'
(bin+'rhino').write <<-EOS.undent
- #!/bin/sh
- java -jar "#{libexec}/js.jar" $@
+ #!/bin/bash
+ java -jar "#{libexec}/js.jar" "$@"
EOS
end
end