diff options
author | michelou <michelou@epfl.ch> | 2005-12-09 18:19:20 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2005-12-09 18:19:20 +0000 |
commit | f21a82085951620495137cad8ee1a6698b48ee55 (patch) | |
tree | df0e3eb0c42bef77bb0ddaf700e0913ad7dd6959 /test-nsc/scalanstest | |
parent | d5d245559d73e797677a2d06fc6b8d5c9d88a88b (diff) | |
download | scala-f21a82085951620495137cad8ee1a6698b48ee55.tar.gz scala-f21a82085951620495137cad8ee1a6698b48ee55.tar.bz2 scala-f21a82085951620495137cad8ee1a6698b48ee55.zip |
- added variable 'LATEST' (Cygwin/Unix switch)
Diffstat (limited to 'test-nsc/scalanstest')
-rw-r--r-- | test-nsc/scalanstest | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/test-nsc/scalanstest b/test-nsc/scalanstest index 473510f830..91f7377e68 100644 --- a/test-nsc/scalanstest +++ b/test-nsc/scalanstest @@ -453,10 +453,15 @@ FILES_POS=""; FILES_NEG=""; FILES_MSIL=""; -SCALA="$PREFIX/distribs/unix/latest/bin/ns"; -# SOCOS="$PREFIX/distribs/unix/latest/bin/nsc -verbose"; -SOCOS="$PREFIX/distribs/unix/latest/bin/nsc -classpath /tmp/newclasses:$HOME/scala/build/nslib.jar:$HOME/scala/sources:$HOME/scala/newsources:/home/linuxsoft/apps/fjbg/jars/fjbg.jar:/home/linuxsoft/apps/msil/msil.jar" -SCALAP="$PREFIX/distribs/unix/latest/bin/nsp"; +case `uname` in + CYGWIN* ) LATEST="$PREFIX/distribs/windows/latest";; + * ) LATEST="$PREFIX/distribs/unix/latest";; +esac; + +SCALA="$LATEST/bin/ns"; +SOCOS="$LATEST/bin/nsc"; +#SOCOS="$LATEST/bin/nsc -classpath /tmp/newclasses:$HOME/scala/build/nslib.jar:$HOME/scala/sources:$HOME/scala/newsources:/home/linuxsoft/apps/fjbg/jars/fjbg.jar:/home/linuxsoft/apps/msil/msil.jar" +SCALAP="$LATEST/bin/nsp"; DIFF="diff"; case `uname` in |