From a08542d129b26bb3905aaf0b5504b6be594e0f9e Mon Sep 17 00:00:00 2001 From: Binrui Dong Date: Sat, 17 Feb 2024 10:18:31 +0800 Subject: [PATCH] Fix error in clang-tidy.sh --- build-scripts/clang-tidy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-scripts/clang-tidy.sh b/build-scripts/clang-tidy.sh index f4cb61c3a67da..647cbabac13b2 100755 --- a/build-scripts/clang-tidy.sh +++ b/build-scripts/clang-tidy.sh @@ -106,7 +106,7 @@ else ( test -f ./files_changed && ( build-scripts/get_affected_files.py ./files_changed | grep -v third-party ) ) || \ echo unknown )" - if [ "tidyable_cpp_files" == "unknown" ] + if [ "$tidyable_cpp_files" == "unknown" ] then echo "Unable to determine affected files, tidying all files" tidyable_cpp_files=$all_cpp_files