Revert "Simplify clj script and fix some quoting."

This reverts commit fc6f2c88fd080025f128f300c98ce4a66ed3365b.
This commit is contained in:
Adam Vandenberg 2010-10-03 21:17:23 -07:00
parent d1048d7127
commit e80e811bb1

View file

@ -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