Revert "Simplify clj
script and fix some quoting."
This reverts commit fc6f2c88fd080025f128f300c98ce4a66ed3365b.
This commit is contained in:
parent
d1048d7127
commit
e80e811bb1
1 changed files with 7 additions and 2 deletions
|
@ -13,8 +13,13 @@ class Clojure <Formula
|
|||
def script
|
||||
<<-EOS
|
||||
#!/bin/sh
|
||||
# Run Clojure.
|
||||
exec java -cp "#{prefix}/#{jar}" clojure.main "$@"
|
||||
# Runs clojure.
|
||||
# With no arguments, runs Clojure's REPL.
|
||||
|
||||
# resolve links - $0 may be a softlink
|
||||
CLOJURE=$CLASSPATH:$(brew --cellar)/#{name}/#{version}/#{jar}
|
||||
|
||||
java -cp $CLOJURE clojure.main "$@"
|
||||
EOS
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue