From: Timo Heister Date: Tue, 28 Apr 2020 18:50:14 +0000 (-0400) Subject: fix script X-Git-Tag: v9.2.0-rc1~159^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3cc007b52fca52d225bd3175d2477b7adca1979e;p=dealii.git fix script --- diff --git a/contrib/utilities/run_clang_tidy.sh b/contrib/utilities/run_clang_tidy.sh index 234613367e..989d9b5ce4 100755 --- a/contrib/utilities/run_clang_tidy.sh +++ b/contrib/utilities/run_clang_tidy.sh @@ -67,7 +67,7 @@ cmake --build . --target expand_all_instantiations || (echo "make expand_all_ins run-clang-tidy.py -p . -quiet -header-filter "$SRC/include/*" -extra-arg='-DCLANG_TIDY' 2>error.txt >output.txt # grep interesting errors and make sure we remove duplicates: -grep -E '(warning|error): ' output.txt output2.txt | sort | uniq >clang-tidy.log +grep -E '(warning|error): ' output.txt | sort | uniq >clang-tidy.log # if we have errors, report them and set exit status to failure if [ -s clang-tidy.log ]; then