From c0644c6da7fd1da215305bc30a78f33bdf5633c0 Mon Sep 17 00:00:00 2001
From: Andrei Karas <akaras@inbox.ru>
Date: Tue, 9 Aug 2016 16:33:07 +0300
Subject: In ci deheader scripts trigger error if any file compilation failed.

---
 tools/ci/scripts/deheader.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'tools')

diff --git a/tools/ci/scripts/deheader.sh b/tools/ci/scripts/deheader.sh
index b1a335c71..2cd3433d4 100755
--- a/tools/ci/scripts/deheader.sh
+++ b/tools/ci/scripts/deheader.sh
@@ -20,7 +20,7 @@ ${dir}/deheader -q -i "\"debug.h\"" \
 -c "$CXX" \
 -d "$FLAGS" \
 -s "-std=gnu++1z" \
--m "-c -Werror -Wall -Wextra -Wundef -Wmissing-declarations -DLOCALEDIR=\\\"\\\" -I/usr/include $INCLUDES -I${dir}/src" $1 | \
+-m "-c -Werror -Wall -Wextra -Wundef -Wmissing-declarations -DLOCALEDIR=\\\"\\\" -I/usr/include $INCLUDES -I${dir}/src" $1 2>&1 | \
 grep -v "deheader: ./src/net/sdltcpnet.cpp has more than one inclusion of <netinet/tcp.h>" | \
 grep -v "deheader: remove <netinet/tcp.h> from ./src/net/sdltcpnet.cpp" | \
 grep -v "portability requires" | \
-- 
cgit v1.2.3-70-g09d2