geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r481626 - /geronimo/genesis/trunk/build-harness/bin/groovy.shlib
Date Sat, 02 Dec 2006 21:16:45 GMT
Author: jdillon
Date: Sat Dec  2 13:16:43 2006
New Revision: 481626

URL: http://svn.apache.org/viewvc?view=rev&rev=481626
Log:
Drop tee log to preserve return value

Modified:
    geronimo/genesis/trunk/build-harness/bin/groovy.shlib

Modified: geronimo/genesis/trunk/build-harness/bin/groovy.shlib
URL: http://svn.apache.org/viewvc/geronimo/genesis/trunk/build-harness/bin/groovy.shlib?view=diff&rev=481626&r1=481625&r2=481626
==============================================================================
--- geronimo/genesis/trunk/build-harness/bin/groovy.shlib (original)
+++ geronimo/genesis/trunk/build-harness/bin/groovy.shlib Sat Dec  2 13:16:43 2006
@@ -39,6 +39,12 @@
 
 groovy() {
     cd "$BINDIR"
-    exec "$GROOVY" "$PROGNAME.groovy" $* | 2>&1 tee "$BASEDIR/$PROGNAME.log"
+    exec "$GROOVY" "$PROGNAME.groovy" $*
+    
+    ##
+    ## NOTE: Can't capture logs like this, as we need to preserve the return value
+    ##
+    
+    # | 2>&1 tee "$BASEDIR/$PROGNAME.log"
 }
 



Mime
View raw message