summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-12-12 20:59:31 +0300
committerAndrei Karas <akaras@inbox.ru>2016-12-12 20:59:31 +0300
commit89cbe82ec07003c16038c278791d58e0744d4eef (patch)
tree5b52d0e12acc8f813c396290c2bb0e2d8b016d4e /tools
parent7890d8e082d5ab07d1ae92468166cac235721d4e (diff)
downloadplus-89cbe82ec07003c16038c278791d58e0744d4eef.tar.gz
plus-89cbe82ec07003c16038c278791d58e0744d4eef.tar.bz2
plus-89cbe82ec07003c16038c278791d58e0744d4eef.tar.xz
plus-89cbe82ec07003c16038c278791d58e0744d4eef.zip
Revert "Fix possible command line overflow in ci."
This reverts commit 7890d8e082d5ab07d1ae92468166cac235721d4e.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/ci/scripts/init.sh12
1 files changed, 2 insertions, 10 deletions
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