diff --git a/src/script/ant.bat b/src/script/ant.bat index 87f6b0469..31815d93f 100755 --- a/src/script/ant.bat +++ b/src/script/ant.bat @@ -15,10 +15,17 @@ set DEFAULT_ANT_HOME=%DEFAULT_ANT_HOME:\bin\=% if "%ANT_HOME%"=="" set ANT_HOME=%DEFAULT_ANT_HOME% set DEFAULT_ANT_HOME= +rem Need to check if we are using the 4NT shell... +if "%eval[2+2]" == "4" goto setup4NT + rem On NT/2K grab all arguments at once set ANT_CMD_LINE_ARGS=%* goto doneStart +:setup4NT +set ANT_CMD_LINE_ARGS=%$ +goto doneStart + :win9xStart rem Slurp the command line arguments. This loop allows for an unlimited number of rem agruments (up to the command line limit, anyway).