You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by st...@apache.org on 2005/07/06 14:26:05 UTC
cvs commit: ant/src/main/org/apache/tools/ant/taskdefs Execute.java
stevel 2005/07/06 05:26:05
Modified: src/main/org/apache/tools/ant/taskdefs Execute.java
Log:
opening fencepost error fixed by Knut Wannheden
Revision Changes Path
1.96 +1 -1 ant/src/main/org/apache/tools/ant/taskdefs/Execute.java
Index: Execute.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Execute.java,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -r1.95 -r1.96
--- Execute.java 12 Jun 2005 18:04:16 -0000 1.95
+++ Execute.java 6 Jul 2005 12:26:05 -0000 1.96
@@ -1153,7 +1153,7 @@
// add the environment as logicals to the DCL script
if (env != null) {
int eqIndex;
- for (int i = 1; i < env.length; i++) {
+ for (int i = 0; i < env.length; i++) {
eqIndex = env[i].indexOf('=');
if (eqIndex != -1) {
out.print("$ DEFINE/NOLOG ");
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org