From 862daae957785cda1dd78b4b31a1d4d9874a82d1 Mon Sep 17 00:00:00 2001 From: Prashant Sharma Date: Tue, 13 Aug 2013 10:27:14 +0530 Subject: Added a warning from scala runner script. --- test/partest | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/partest') 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} \ -- cgit v1.2.3