ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Deitte <bdei...@macromedia.com>
Subject [PATCH] Execute.java
Date Wed, 16 Jan 2002 20:10:30 GMT
In Execute.java, if you have os and osEnv environment variables with different cases, the osEnv
element isn't overriden.  This can be fixed by changing

                if (((String)osEnv.elementAt(j)).startsWith(key)) {

to

                if (key.length() != 0 && ((String)osEnv.elementAt(j)).regionMatches(true,
0, key, 0, key.length()) {

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message