소스 검색

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
     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.
     else
         # Note that this branch also covers --help, -h, -help, -?, etc.