Commit bb72a973 authored by Anton Midyukov's avatar Anton Midyukov

log.mk: fix abort on error when STDOUT=1

parent 36642ec7
...@@ -26,7 +26,7 @@ SHELL += -x ...@@ -26,7 +26,7 @@ SHELL += -x
endif endif
ifeq (1,$(STDOUT)) ifeq (1,$(STDOUT))
LOG = 2>&1 | tee -a $(BUILDLOG) LOG = 2>&1 | tee -a $(BUILDLOG)
LOG_STDERR = $(LOG) LOG_STDERR = 2> >(tee -a $(BUILDLOG) >&2) 1>>$(BUILDLOG)
else else
LOG = >>$(BUILDLOG) 2>&1 LOG = >>$(BUILDLOG) 2>&1
LOG_STDERR = 2> >(tee -a $(BUILDLOG) >&2) 1>>$(BUILDLOG) LOG_STDERR = 2> >(tee -a $(BUILDLOG) >&2) 1>>$(BUILDLOG)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment