Permalink
Browse files

Fix #575 - use updated method for invoking clojure.

  • Loading branch information...
1 parent ebaf818 commit 4c357d59c74fde8d5cc528012f48dbe95bb3de7f @adamv adamv committed Jan 31, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 Library/Formula/clojure.rb
@@ -28,8 +28,8 @@ def install
CLOJURE=$CLASSPATH:CLOJURE_JAR_PATH_PLACEHOLDER
if [ -z "$1" ]; then
- java -server -cp $CLOJURE clojure.lang.Repl
+ java -server -cp $CLOJURE clojure.main
else
- scriptname=$1
- java -server -cp $CLOJURE clojure.lang.Script $scriptname -- $*
+ scriptname=$1
+ java -server -cp $CLOJURE clojure.main -i $scriptname $*
fi

0 comments on commit 4c357d5

Please sign in to comment.