Fix clang-format fallback check
`[ -z "${CLANG_FORMAT+x}" ]` checks if CLANG_FORMAT is unset, but the
variable will be set even if `which` fails, so we have to check if it is
empty instead.
RECOMMENDED_CLANG_FORMAT_MAJOR="11"
CLANG_FORMAT=`which clang-format-$RECOMMENDED_CLANG_FORMAT_MAJOR 2>/dev/null`
-if [ -z "${CLANG_FORMAT+x}" ]; then
+if [ -z "$CLANG_FORMAT" ]; then
CLANG_FORMAT=`which clang-format 2>/dev/null`
fi
