Fix pattern used when removing old tidy.fail files.
diff --git a/scripts/run_clang_tidy_format.sh b/scripts/run_clang_tidy_format.sh index 0f0c5f0..43cfaf0 100755 --- a/scripts/run_clang_tidy_format.sh +++ b/scripts/run_clang_tidy_format.sh
@@ -47,7 +47,7 @@ exit 1 fi -rm -f tidy-*.fail +rm -f tidy.fail-* # sh syntax is -c "string" [name [args ...]], so "tidy" here is the name and not included in "$@" echo ${HEADERS} ${SOURCES} | xargs -P${PARALLEL_JOBS} -n1 sh -c "${CLANG_TIDY} --extra-arg=-DCLANG_TIDY -export-fixes=\$(mktemp -p. tidy.fail-XXXX) \$@" tidy if [ $(find . -maxdepth 1 -name 'tidy.fail-*' -size +0 | wc -l) -gt 0 ] ; then