changeset 547:32675c68a3ca

6948251: need to quote args in langtools launcher script Reviewed-by: darcy
author jjg
date Thu, 29 Apr 2010 14:25:47 -0700
parents 04cf82179fa7
children c399da99fa16
files src/share/bin/launcher.sh-template
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/bin/launcher.sh-template	Wed Apr 21 12:24:56 2010 +0100
+++ b/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}