diff test/tools/javac/Paths/Help.sh @ 901:22a040cbf0e0

6581775: Fix the white space problem in javac shell tests Reviewed-by: mcimadamore
author jjg
date Mon, 24 Jan 2011 16:34:25 -0800
parents 9d9f26857129
children 0ff2bbd38f10
line wrap: on
line diff
--- a/test/tools/javac/Paths/Help.sh	Mon Jan 24 16:17:33 2011 -0800
+++ b/test/tools/javac/Paths/Help.sh	Mon Jan 24 16:34:25 2011 -0800
@@ -40,8 +40,8 @@
 
 DiagnosticsInEnglishPlease
 
-HELP="`$javac ${TESTTOOLVMOPTS} -help 2>&1`"
-XHELP="`$javac ${TESTTOOLVMOPTS} -X 2>&1`"
+HELP="`\"$javac\" ${TESTTOOLVMOPTS} -help 2>&1`"
+XHELP="`\"$javac\" ${TESTTOOLVMOPTS} -X 2>&1`"
 
 #----------------------------------------------------------------
 # Standard options