summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrashant Sharma <prashant.s@imaginea.com>2013-08-13 10:27:14 +0530
committerPrashant Sharma <prashant.s@imaginea.com>2013-08-13 10:27:14 +0530
commit862daae957785cda1dd78b4b31a1d4d9874a82d1 (patch)
tree57540497890a003d5b6bacdbaf295b51adc6b20c
parentb2ddf857403b80a9d22da2f87b664cdd449deb21 (diff)
downloadscala-862daae957785cda1dd78b4b31a1d4d9874a82d1.tar.gz
scala-862daae957785cda1dd78b4b31a1d4d9874a82d1.tar.bz2
scala-862daae957785cda1dd78b4b31a1d4d9874a82d1.zip
Added a warning from scala runner script.
-rwxr-xr-xtest/partest3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/partest b/test/partest
index 16513c1791..bf6643f918 100755
--- a/test/partest
+++ b/test/partest
@@ -125,6 +125,9 @@ if [ ! -z "${PARTEST_DEBUG}" ] ; then
partestDebugStr="-Dpartest.debug=${PARTEST_DEBUG}"
fi
+# note that variables which may intentionally be empty must not
+# be quoted: otherwise an empty string will appear as a command line
+# argument, and java will think that is the program to run.
"${JAVACMD:=java}" \
$JAVA_OPTS -cp "$EXT_CLASSPATH" \
${partestDebugStr} \