adding code to make the scripts work on cygwin (need to change CLASSPATH
delimeter)
This commit is contained in:
parent
974a6a48f0
commit
7f1bb18215
4
script/repl
Executable file → Normal file
4
script/repl
Executable file → Normal file
@ -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
|
||||
|
4
script/run
Executable file → Normal file
4
script/run
Executable file → Normal file
@ -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
|
||||
|
4
script/test
Executable file → Normal file
4
script/test
Executable file → Normal file
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user