Clojure: fix clj wrapper

bin/clj: Quote $CLOJURE so it works when $PWD includes a space

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Magnus Holm 2012-01-27 09:57:06 +01:00 committed by Adam Vandenberg
parent e1d2c25388
commit f1180478f7

View file

@ -15,9 +15,9 @@ class Clojure < Formula
CLOJURE=$CLASSPATH:#{prefix}/clojure-1.3.0.jar:${PWD}
if [ "$#" -eq 0 ]; then
java -cp $CLOJURE clojure.main --repl
java -cp "$CLOJURE" clojure.main --repl
else
java -cp $CLOJURE clojure.main "$@"
java -cp "$CLOJURE" clojure.main "$@"
fi
EOS
end