You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by cr...@apache.org on 2005/06/29 08:57:10 UTC

svn commit: r202322 - /forrest/trunk/main/build.sh

Author: crossley
Date: Tue Jun 28 23:57:09 2005
New Revision: 202322

URL: http://svn.apache.org/viewcvs?rev=202322&view=rev
Log:
Return the exit status of the call to Ant.
This enables running build.sh automatically and report an issue.

Modified:
    forrest/trunk/main/build.sh

Modified: forrest/trunk/main/build.sh
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/build.sh?rev=202322&r1=202321&r2=202322&view=diff
==============================================================================
--- forrest/trunk/main/build.sh (original)
+++ forrest/trunk/main/build.sh Tue Jun 28 23:57:09 2005
@@ -37,6 +37,7 @@
 
 echo "Using classpath: $CLASSPATH"
 "$PWD/../tools/ant/bin/ant" -logger org.apache.tools.ant.NoBannerLogger -emacs  $@
+status=$?
 
 unset CLASSPATH
 
@@ -49,3 +50,4 @@
 unset OLD_ANT_HOME
 unset CP
 
+exit $status