diff options
Diffstat (limited to 'cmake/scripts/linux/clang-check-test.sh.in')
| -rwxr-xr-x | cmake/scripts/linux/clang-check-test.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/scripts/linux/clang-check-test.sh.in b/cmake/scripts/linux/clang-check-test.sh.in index 3b30ec1..12e9a0e 100755 --- a/cmake/scripts/linux/clang-check-test.sh.in +++ b/cmake/scripts/linux/clang-check-test.sh.in | |||
| @@ -12,7 +12,7 @@ source_file=$2 | |||
| 12 | 12 | ||
| 13 | tmpfil=`mktemp` | 13 | tmpfil=`mktemp` |
| 14 | $clangcheck_cmd -p @CMAKE_BINARY_DIR@ -analyze $source_file &> $tmpfil | 14 | $clangcheck_cmd -p @CMAKE_BINARY_DIR@ -analyze $source_file &> $tmpfil |
| 15 | nerr=`cat $tmpfil | grep -v "warning: /usr/bin/c++: 'linker' input unused" | wc -l` | 15 | nerr=`cat $tmpfil | grep -v "warning: .*: 'linker' input unused" | wc -l` |
| 16 | if test $nerr -gt 0 | 16 | if test $nerr -gt 0 |
| 17 | then | 17 | then |
| 18 | cat $tmpfil | 18 | cat $tmpfil |
