stevel 01/11/30 12:52:23
Modified: src/script ant.bat
Log:
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.
Revision Changes Path
1.15 +1 -1 jakarta-ant/src/script/ant.bat
Index: ant.bat
===================================================================
RCS file: /home/cvs/jakarta-ant/src/script/ant.bat,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- ant.bat 2001/10/17 00:27:34 1.14
+++ ant.bat 2001/11/30 20:52:23 1.15
@@ -16,7 +16,7 @@
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=%*
--
To unsubscribe, e-mail: <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>
|