------------------------------------------------------------
revno: 250
committer: Brian Gough <[email protected]>
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