rhino: fix quoting
This commit is contained in:
parent
467d5aadbd
commit
215e90e76f
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue