I'm trying to append something to the PATH env variable in fedora 10 and<br>
fedora 11. It doesn't seem to work. (Fedora 8 and 9 work as expected, as<br>
well as ubuntu with the same versions of ant 1.7.1). My example below should<br>
echo out the path with "/foo" at the beginning.  I don't believe it's a bug<br>
with the version of ant, but how it's interacting with the FC10 and FC11<br>
environment.   Not sure how to track this down.  Any help is greatly<br>
appreciated.<br>
<br>
Chris<br>
<br>
<project name="test env" default="test" basedir="."><br>
  <property environment="env"/><br>
<br>
  <target name="test"><br>
    <echo> env.PATH=${env.PATH} </echo><br>
    <exec dir="/" executable="bash" os="Linux" failonerror="true"<br>
searchpath="true"><br>
      <arg value="--login" /><br>
      <arg value="-c"      /><br>
      <env key="PATH" value="/foo:${env.PATH}"/><br>
      <arg value="echo $PATH" /><br>
    </exec><br>
  </target><br>
</project>