summaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
authorStefan Bodewig <bodewig@apache.org>2008-10-15 15:37:30 +0000
committerStefan Bodewig <bodewig@apache.org>2008-10-15 15:37:30 +0000
commit42a0fb55676c1acbdac4eb9ca099f79ad2c92e4e (patch)
treea72b31539c831c9df9e22e6faf5822112070e6b1 /src/script
parentb8e3f831d63cc75c059e4b47f6f7eb3d03bfd100 (diff)
downloadant-42a0fb55676c1acbdac4eb9ca099f79ad2c92e4e.tar.gz
delay expansion of command line args. PR 31601.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@704943 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/script')
-rw-r--r--src/script/ant6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/script/ant b/src/script/ant
index 07ecccfbb..0dc22fe0b 100644
--- a/src/script/ant
+++ b/src/script/ant
@@ -319,8 +319,8 @@ else
ant_sys_opts="-Djikes.class.path=\"$JIKESPATH\""
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_args"
+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
- echo $ant_exec_command
+ echo $ant_exec_command $ant_exec_args
fi
-eval $ant_exec_command
+eval $ant_exec_command "$ant_exec_args"