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:
parent
e1d2c25388
commit
f1180478f7
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue