summaryrefslogtreecommitdiff
path: root/test/scalatest
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2006-02-22 09:20:45 +0000
committermichelou <michelou@epfl.ch>2006-02-22 09:20:45 +0000
commitacdffcce39b1544e5f569e3db9583221e6370cbc (patch)
treef26c54822dc04ea0bddb6dcc80679d0b2e5eac53 /test/scalatest
parent710c9301a3a5573fd6ff92acf882a794af28df95 (diff)
downloadscala-acdffcce39b1544e5f569e3db9583221e6370cbc.tar.gz
scala-acdffcce39b1544e5f569e3db9583221e6370cbc.tar.bz2
scala-acdffcce39b1544e5f569e3db9583221e6370cbc.zip
adapted script 'scalatest' to work in developme...
adapted script 'scalatest' to work in development AND end-user environments
Diffstat (limited to 'test/scalatest')
-rwxr-xr-xtest/scalatest6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/scalatest b/test/scalatest
index a609e8dfe5..c3dc8960e4 100755
--- a/test/scalatest
+++ b/test/scalatest
@@ -459,7 +459,11 @@ QUICK="$PREFIX/build/quick/exec"
if [ -d "$PREFIX/dists" ]; then
LATEST="$PREFIX/dists/latest/bin";
else
- LATEST="$QUICK";
+ if [ -d "$PREFIX/build" ]; then
+ LATEST="$QUICK";
+ else
+ LATEST="$PREFIX/bin";
+ fi;
fi;
BIN_DIR="$LATEST"