From b1aff29095e145d56ee0ed7713c331b19b2b3b8c Mon Sep 17 00:00:00 2001 From: Steve Loughran Date: Fri, 30 Nov 2001 20:52:23 +0000 Subject: [PATCH] PR: 3952, 3654 : "4NT not being recognised correctly" Submitted by: alan@coldsmoke.com (Alan Arvesen), greg_fenton@yahoo.com (Greg Fenton) Reviewed by: Steve Loughran Fixed the 4NT test as suggested, tested it by running the batch file without echoes. 4NT 4.00A actually works properly without the fix, because it understands NT CMD shell variables better. This fix should support earlier versions. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270057 13f79535-47bb-0310-9956-ffa450edef68 --- src/script/ant.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script/ant.bat b/src/script/ant.bat index 261cf1ef5..4306669ce 100755 --- a/src/script/ant.bat +++ b/src/script/ant.bat @@ -16,7 +16,7 @@ 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 +if "%@eval[2+2]" == "4" goto setup4NT rem On NT/2K grab all arguments at once set ANT_CMD_LINE_ARGS=%*