Revert "Simplify `clj` script and fix some quoting."
This reverts commit fc6f2c88fd080025f128f300c98ce4a66ed3365b.master
parent
d1048d7127
commit
e80e811bb1
|
@ -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 New Issue