6948251: need to quote args in langtools launcher script
authorjjg
Thu, 29 Apr 2010 14:25:47 -0700
changeset 5490 a237b108549d
parent 5489 e7af65bf7577
child 5491 899e1748bb17
6948251: need to quote args in langtools launcher script Reviewed-by: darcy
langtools/src/share/bin/launcher.sh-template
--- a/langtools/src/share/bin/launcher.sh-template	Wed Apr 21 12:24:56 2010 +0100
+++ b/langtools/src/share/bin/launcher.sh-template	Thu Apr 29 14:25:47 2010 -0700
@@ -66,4 +66,5 @@
 done
 unset DUALCASE
 
-eval "#TARGET_JAVA#" "${bcp:+-Xbootclasspath/p:"$bcp"}" ${ea} ${javaOpts} -jar "${mydir}"/../lib/#PROGRAM#.jar ${toolOpts}
+IFS=$nl
+"#TARGET_JAVA#" "${bcp:+-Xbootclasspath/p:"$bcp"}" ${ea} ${javaOpts} -jar "${mydir}"/../lib/#PROGRAM#.jar ${toolOpts}