diff --git a/script/repl b/script/repl old mode 100755 new mode 100644 index d85108c..940f8ed --- a/script/repl +++ b/script/repl @@ -5,4 +5,8 @@ for f in lib/*.jar; do CLASSPATH=$CLASSPATH:$f done +if [ "$OSTYPE" = "cygwin" ]; then + CLASSPATH=`cygpath -wp $CLASSPATH` +fi + java -Xmx1G -cp $CLASSPATH jline.ConsoleRunner clojure.main diff --git a/script/run b/script/run old mode 100755 new mode 100644 index 6a5db2d..860831b --- a/script/run +++ b/script/run @@ -5,5 +5,9 @@ for f in lib/*.jar; do CLASSPATH=$CLASSPATH:$f done +if [ "$OSTYPE" = "cygwin" ]; then + CLASSPATH=`cygpath -wp $CLASSPATH` +fi + java -cp "$CLASSPATH" clojure.main -i script/run.clj echo diff --git a/script/test b/script/test old mode 100755 new mode 100644 index 9d0f2dd..baabff4 --- a/script/test +++ b/script/test @@ -5,5 +5,9 @@ for f in lib/*.jar; do CLASSPATH=$CLASSPATH:$f done +if [ "$OSTYPE" = "cygwin" ]; then + CLASSPATH=`cygpath -wp $CLASSPATH` +fi + java -cp "$CLASSPATH" clojure.main -i script/test.clj echo