Browse Source

Support more than 9 arguments under Win 95/98

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267865 13f79535-47bb-0310-9956-ffa450edef68
master
Conor MacNeill 25 years ago
parent
commit
d4187a8144
1 changed files with 10 additions and 1 deletions
  1. +10
    -1
      src/bin/antRun.bat

+ 10
- 1
src/bin/antRun.bat View File

@@ -5,5 +5,14 @@ set ANT_RUN_CMD=%2
shift
shift

%ANT_RUN_CMD% %1 %2 %3 %4 %5 %6 %7 %8 %9
set PARAMS=
:loop
if "%1" == "" goto runCommand
set PARAMS=%PARAMS% %1
shift
goto loop

:runCommand
echo %ANT_RUN_CMD% %PARAMS%
%ANT_RUN_CMD% %PARAMS%


Loading…
Cancel
Save