bug-gsrc
[Top][All Lists]
Advanced

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

[bug-gsrc] /home/b/bjg/notify/gsrc/ r250: removed tee from logging, as


From: Brian Gough
Subject: [bug-gsrc] /home/b/bjg/notify/gsrc/ r250: removed tee from logging, as it discards exit status
Date: Fri, 30 Jul 2010 11:09:58 +0100
User-agent: Bazaar (2.0.0)

------------------------------------------------------------
revno: 250
committer: Brian Gough <address@hidden>
branch nick: gsrc
timestamp: Fri 2010-07-30 11:09:58 +0100
message:
  removed tee from logging, as it discards exit status
modified:
  gar.mk
=== modified file 'gar.mk'
--- a/gar.mk    2010-07-30 10:08:52 +0000
+++ b/gar.mk    2010-07-30 10:09:58 +0000
@@ -297,7 +297,7 @@
 
 # A logging version of the rules, e.g. make build-log, respawns and sends 
output to $(LOGDIR)
 %-log: $(LOGDIR)
-       $(MAKE) $*-p || ($(MAKE) $*  2>&1 | tee $(LOGDIR)/$*.log)
+       $(MAKE) $*-p || $(MAKE) $* >$(LOGDIR)/$*.log 2>&1
 
 .PHONY: $(addsuffix fetch checksum extract patch configure build test 
install,-log)
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]