From 89cbe82ec07003c16038c278791d58e0744d4eef Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 12 Dec 2016 20:59:31 +0300 Subject: Revert "Fix possible command line overflow in ci." This reverts commit 7890d8e082d5ab07d1ae92468166cac235721d4e. --- tools/ci/scripts/init.sh | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'tools') diff --git a/tools/ci/scripts/init.sh b/tools/ci/scripts/init.sh index d71f99b4e..c82d248d9 100755 --- a/tools/ci/scripts/init.sh +++ b/tools/ci/scripts/init.sh @@ -221,16 +221,8 @@ function run_check_warnings { function run_h { rm $ERRFILE - echo "$CC -c -x c++ $* $includes */*/*/*/*.h" - $CC -c -x c++ $* $includes */*/*/*/*.h 2>$ERRFILE - echo "$CC -c -x c++ $* $includes */*/*/*.h" - $CC -c -x c++ $* $includes */*/*/*.h 2>>$ERRFILE - echo "$CC -c -x c++ $* $includes */*/*.h" - $CC -c -x c++ $* $includes */*/*.h 2>>$ERRFILE - echo "$CC -c -x c++ $* $includes */*.h" - $CC -c -x c++ $* $includes */*.h 2>>$ERRFILE - echo "$CC -c -x c++ $* $includes *.h" - $CC -c -x c++ $* $includes *.h 2>>$ERRFILE + echo "$CC -c -x c++ $* $includes */*/*/*/*.h */*/*/*.h */*/*.h */*.h *.h" + $CC -c -x c++ $* $includes */*/*/*/*.h */*/*/*.h */*/*.h */*.h *.h 2>$ERRFILE DATA=$(cat $ERRFILE) if [ "$DATA" != "" ]; then -- cgit v1.2.3-70-g09d2