From 6be52e435d9eff39f17f1b2660aeb066eeea0935 Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Wed, 19 Apr 2017 21:31:04 +0200 Subject: [PATCH] build.sh: avoid duplicate on clang-tidy analysis --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index eb500dd4f4..cd407a146f 100755 --- a/build.sh +++ b/build.sh @@ -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 #