From d4187a814472cf748a103f412f59596159cbce81 Mon Sep 17 00:00:00 2001 From: Conor MacNeill Date: Wed, 2 Aug 2000 10:28:28 +0000 Subject: [PATCH] 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 --- src/bin/antRun.bat | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/bin/antRun.bat b/src/bin/antRun.bat index 08e03519c..fe0d1ceeb 100755 --- a/src/bin/antRun.bat +++ b/src/bin/antRun.bat @@ -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%