r4155 - trunk



Author: timj
Date: 2006-12-14 16:16:17 -0500 (Thu, 14 Dec 2006)
New Revision: 4155

Modified:
   trunk/Makefile.decl
Log:
Thu Dec 14 21:38:31 2006  Tim Janik  <timj gtk org>

        * Makefile.decl (report): reintroduced tee(1) to preserve output
        during report generation, but use $PIPESTATUS to ensure successful
        execution of the subshell commands.




Modified: trunk/Makefile.decl
===================================================================
--- trunk/Makefile.decl	2006-12-14 20:45:15 UTC (rev 4154)
+++ trunk/Makefile.decl	2006-12-14 21:16:17 UTC (rev 4155)
@@ -92,9 +92,9 @@
 	@export REPORTFILE="$(REPORTFILE)"			\
 	&& [ -z "$$REPORTFILE" ]				\
 	&& export REPORTFILE="$(shell pwd)/report.out" ;	\
-	{ :							\
+	( :							\
 	  && echo -n "#TREPSTART: " && date --iso-8601=seconds	\
 	  && $(MAKE) $(AM_MAKEFLAGS) check slowcheck perf	\
 	  && echo -n "#TREPDONE: "  && date --iso-8601=seconds	\
-	} 2>&1 | tee "$$REPORTFILE"				\
+	) 2>&1 | tee "$$REPORTFILE"				\
 	&& test "${PIPESTATUS[*]}" = "0 0"




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]