diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-12-12 20:48:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-12-12 20:48:17 +0300 |
commit | 7890d8e082d5ab07d1ae92468166cac235721d4e (patch) | |
tree | d9228517fe8613fcb7ea1ebee0e046ff8f8e09fe /tools/ci | |
parent | a908eb0431a25e3228277991d94d6a4add8f5010 (diff) | |
download | plus-7890d8e082d5ab07d1ae92468166cac235721d4e.tar.gz plus-7890d8e082d5ab07d1ae92468166cac235721d4e.tar.bz2 plus-7890d8e082d5ab07d1ae92468166cac235721d4e.tar.xz plus-7890d8e082d5ab07d1ae92468166cac235721d4e.zip |
Fix possible command line overflow in ci.
Diffstat (limited to 'tools/ci')
-rwxr-xr-x | tools/ci/scripts/init.sh | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/tools/ci/scripts/init.sh b/tools/ci/scripts/init.sh index c82d248d9..d71f99b4e 100755 --- a/tools/ci/scripts/init.sh +++ b/tools/ci/scripts/init.sh @@ -221,8 +221,16 @@ function run_check_warnings { function run_h { rm $ERRFILE - echo "$CC -c -x c++ $* $includes */*/*/*/*.h */*/*/*.h */*/*.h */*.h *.h" - $CC -c -x c++ $* $includes */*/*/*/*.h */*/*/*.h */*/*.h */*.h *.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" + $CC -c -x c++ $* $includes *.h 2>>$ERRFILE DATA=$(cat $ERRFILE) if [ "$DATA" != "" ]; then |