projects
/
libbear.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b9a6aef
)
added logging of commands
author
Patrik Gornicz
<Gornicz.P@gmail.com>
Tue, 1 Dec 2009 03:24:27 +0000
(22:24 -0500)
committer
Patrik Gornicz
<Gornicz.P@gmail.com>
Tue, 1 Dec 2009 03:24:27 +0000
(22:24 -0500)
vars.mk
patch
|
blob
|
blame
|
history
diff --git
a/vars.mk
b/vars.mk
index
1616d19
..
3509405
100644
(file)
--- 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}
# 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!!
else
# EAT the logging printf command
Q1s := @true # NOTE: the space between @true and the # is VERY important!!