浏览代码

Meta: Adhere to latest ScriptCheck standards (SC2268)

thislooksfun 3 年之前
父节点
当前提交
19bd302f6a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Meta/lint-clang-format.sh

+ 1 - 1
Meta/lint-clang-format.sh

@@ -41,7 +41,7 @@ if (( ${#files[@]} )); then
         exit 1
         exit 1
     fi
     fi
 
 
-    if [ "$#" -gt "0" ] && [ "x--overwrite-inplace" = "x$1" ] ; then
+    if [ "$#" -gt "0" ] && [ "--overwrite-inplace" = "$1" ] ; then
         true # The only way to run this script.
         true # The only way to run this script.
     else
     else
         # Note that this branch also covers --help, -h, -help, -?, etc.
         # Note that this branch also covers --help, -h, -help, -?, etc.