summaryrefslogtreecommitdiff
path: root/test/scalatest
diff options
context:
space:
mode:
Diffstat (limited to 'test/scalatest')
-rwxr-xr-xtest/scalatest3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/scalatest b/test/scalatest
index c12a3ec1c9..a340e49b88 100755
--- a/test/scalatest
+++ b/test/scalatest
@@ -742,7 +742,8 @@ if [ "$USEFSC" = "true" ]; then
else
SCALAC_CMD="${BIN_DIR}scalac";
fi;
-if [ ! -x "$SCALAC_CMD" ]; then
+
+if [ ! -x `which $SCALAC_CMD` ]; then
printf_failure "Missing command \"$SCALAC_CMD\"; run 'ant <target>'.\\n";
exit 1;
fi;