From b9df8b4d23f7702bbce033ce65e682ba92361d3a Mon Sep 17 00:00:00 2001 From: David Knapp Date: Fri, 11 Oct 2024 11:28:00 +0200 Subject: [PATCH] Use looser indent-script condition for all indent scripts --- scripts/check_if_file_indented.scp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check_if_file_indented.scp b/scripts/check_if_file_indented.scp index bf5f402ee7..171cdfa6f6 100755 --- a/scripts/check_if_file_indented.scp +++ b/scripts/check_if_file_indented.scp @@ -52,7 +52,7 @@ MAJOR=`echo $VERSION | cut -d. -f1` MINOR=`echo $VERSION | cut -d. -f2` PATCH=`echo $VERSION | cut -d. -f3` -if [[ "$MAJOR" != "$REQUIRED_VERSION_MAJOR" || $MINOR != "$REQUIRED_VERSION_MINOR" || $PATCH != "$REQUIRED_VERSION_PATCH" ]]; then +if [[ "$MAJOR" != "$REQUIRED_VERSION_MAJOR" || $MINOR != "$REQUIRED_VERSION_MINOR" ]]; then echo "Please install clang-format version $REQUIRED_VERSION_STRING" exit 1 fi