build.sh: avoid duplicate on clang-tidy analysis

This commit is contained in:
Gregory Hainaut 2017-04-19 21:31:04 +02:00
parent 2159245224
commit 6be52e435d
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ if [ "$clangTidy" -eq 1 ] && command -v clang-tidy >/dev/null ; then
compile_json=compile_commands.json
cpp_list=cpp_file.txt
summary=clang_tidy_summary.txt
grep '"file"' $compile_json | sed -e 's/"//g' -e 's/^\s*file\s*:\s*//' | grep -v "aVUzerorec.S" > $cpp_list
grep '"file"' $compile_json | sed -e 's/"//g' -e 's/^\s*file\s*:\s*//' | grep -v "aVUzerorec.S" | sort -u > $cpp_list
# EXAMPLE
#