ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject svn commit: r550805 - /ant/core/trunk/src/script/ant
Date Tue, 26 Jun 2007 13:47:34 GMT
Author: peterreilly
Date: Tue Jun 26 06:47:33 2007
New Revision: 550805

URL: http://svn.apache.org/viewvc?view=rev&rev=550805
Log:
Bugzilla 42739: fix ant script - cd may have output

Modified:
    ant/core/trunk/src/script/ant

Modified: ant/core/trunk/src/script/ant
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/script/ant?view=diff&rev=550805&r1=550804&r2=550805
==============================================================================
--- ant/core/trunk/src/script/ant (original)
+++ ant/core/trunk/src/script/ant Tue Jun 26 06:47:33 2007
@@ -108,7 +108,7 @@
   ANT_HOME=`dirname "$PRG"`/..
 
   # make it fully qualified
-  ANT_HOME=`cd "$ANT_HOME" && pwd`
+  ANT_HOME=`cd "$ANT_HOME" > /dev/null && pwd`
 fi
 
 # For Cygwin, ensure paths are in UNIX format before anything is touched



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


Mime
View raw message