summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"