From dbea08b06aad5d613153d443a5b3081398a3a8aa Mon Sep 17 00:00:00 2001 From: "Alan M. Carroll" Date: Wed, 8 Nov 2023 19:41:37 -0600 Subject: [PATCH] Fix script error in clang-format.sh. (#10753) --- tools/clang-format.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/clang-format.sh b/tools/clang-format.sh index e07816777d3..86bb698af43 100755 --- a/tools/clang-format.sh +++ b/tools/clang-format.sh @@ -29,7 +29,7 @@ function main() { # Check for the option to just install clang-format without running it. just_install=0 - if [ $1 = "--install" ] ; then + if [ "$1" = "--install" ] ; then just_install=1 if [ $# -ne 1 ] ; then echo "No other arguments should be used with --install."