From f646eb00e875c987e2b49cf7738c621275c1439b Mon Sep 17 00:00:00 2001 From: Yanqin Jin Date: Wed, 29 Apr 2020 09:57:02 -0700 Subject: [PATCH] Fix typo --- build_tools/format-diff.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_tools/format-diff.sh b/build_tools/format-diff.sh index 34d438666..4a13d4238 100755 --- a/build_tools/format-diff.sh +++ b/build_tools/format-diff.sh @@ -32,7 +32,7 @@ CLANG_FORMAT_DIFF="clang-format-diff.py" fi # Check clang-format-diff.py -if [ ! which $CLANG_FORMAT_DIFF &> /dev/null ] +if ! which $CLANG_FORMAT_DIFF &> /dev/null then if [ ! -f ./clang-format-diff.py ] then @@ -49,7 +49,7 @@ then echo "and make sure ${CLANG_FORMAT_DIFF} is executable." exit 128 else - if [ -x ./clang-format-diff.py] + if [ -x ./clang-format-diff.py ] then PATH=$PATH:. else