From b07f0a1d5d91317274b5aac8f83febca774bb361 Mon Sep 17 00:00:00 2001 From: Patrik Gornicz Date: Mon, 30 Nov 2009 22:24:27 -0500 Subject: [PATCH] added logging of commands --- vars.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vars.mk b/vars.mk index 1616d19..3509405 100644 --- a/vars.mk +++ b/vars.mk @@ -158,9 +158,9 @@ ifeq (${VERBOSE},0) # log the command Q3s := @echo # NOTE: the space between @echo and the # is VERY important!! Q3e := >> ${LOGFILE} - # quiet the command - Q4s := @ - Q4e := + # quiet the command, log the output + Q4s := @set -o pipefail && + Q4e := 2>&1 | tee -a ${LOGFILE} else # EAT the logging printf command Q1s := @true # NOTE: the space between @true and the # is VERY important!! -- 2.10.2