Browse Source

Bug 58874: Ant fails to run if ANT_HOME contains a double-quote character.

master
Jeffrey Adamson 9 years ago
parent
commit
14e71c1a93
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/script/ant

+ 1
- 1
src/script/ant View File

@@ -329,7 +329,7 @@ else
ant_sys_opts="-Djikes.class.path=\"$JIKESPATH\"" ant_sys_opts="-Djikes.class.path=\"$JIKESPATH\""
fi fi
fi fi
ant_exec_command="exec \"$JAVACMD\" $ANT_OPTS -classpath \"$LOCALCLASSPATH\" -Dant.home=\"$ANT_HOME\" -Dant.library.dir=\"$ANT_LIB\" $ant_sys_opts org.apache.tools.ant.launch.Launcher $ANT_ARGS -cp \"$CLASSPATH\""
ant_exec_command="exec \"\$JAVACMD\" $ANT_OPTS -classpath \"\$LOCALCLASSPATH\" -Dant.home=\"\$ANT_HOME\" -Dant.library.dir=\"\$ANT_LIB\" $ant_sys_opts org.apache.tools.ant.launch.Launcher $ANT_ARGS -cp \"\$CLASSPATH\""
if $ant_exec_debug ; then if $ant_exec_debug ; then
echo $ant_exec_command $ant_exec_args echo $ant_exec_command $ant_exec_args
fi fi


Loading…
Cancel
Save