summaryrefslogtreecommitdiff
path: root/Meta/lint-clang-format.sh
diff options
context:
space:
mode:
authorthislooksfun <tlf@thislooks.fun>2021-10-26 13:14:17 -0500
committerAndreas Kling <kling@serenityos.org>2021-11-02 12:23:30 +0100
commit19bd302f6ab37a08d3adf05a856cbe207eb06545 (patch)
tree8c79909f54e5e428906723c2dd82ff5b57f20586 /Meta/lint-clang-format.sh
parent3e32acc3e46e4a9fba728196e93ad539318790c3 (diff)
downloadserenity-19bd302f6ab37a08d3adf05a856cbe207eb06545.zip
Meta: Adhere to latest ScriptCheck standards (SC2268)
Diffstat (limited to 'Meta/lint-clang-format.sh')
-rwxr-xr-xMeta/lint-clang-format.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/lint-clang-format.sh b/Meta/lint-clang-format.sh
index 0024b621af..09fbdf12e5 100755
--- a/Meta/lint-clang-format.sh
+++ b/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.