summaryrefslogtreecommitdiffstats
path: root/cmake/scripts/linux/clang-check-test.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/scripts/linux/clang-check-test.sh.in')
-rwxr-xr-xcmake/scripts/linux/clang-check-test.sh.in2
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
13tmpfil=`mktemp` 13tmpfil=`mktemp`
14$clangcheck_cmd -p @CMAKE_BINARY_DIR@ -analyze $source_file &> $tmpfil 14$clangcheck_cmd -p @CMAKE_BINARY_DIR@ -analyze $source_file &> $tmpfil
15nerr=`cat $tmpfil | grep -v "warning: /usr/bin/c++: 'linker' input unused" | wc -l` 15nerr=`cat $tmpfil | grep -v "warning: .*: 'linker' input unused" | wc -l`
16if test $nerr -gt 0 16if test $nerr -gt 0
17then 17then
18 cat $tmpfil 18 cat $tmpfil