adding code to make the scripts work on cygwin (need to change CLASSPATH
delimeter)
This commit is contained in:
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
|
||||
|
Reference in New Issue
Block a user