summaryrefslogtreecommitdiff
path: root/Meta/lint-clang-format.sh
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2020-12-22 18:42:09 +0100
committerAndreas Kling <kling@serenityos.org>2020-12-22 20:41:35 +0100
commit32210802acb0b22bcfe7e9e335dc6506912f6b28 (patch)
tree68ec7bc88568c14d23be922bd79904d03c8891ce /Meta/lint-clang-format.sh
parent6bfbc5f5f543a399de8d478216ecfde471f9b4c7 (diff)
downloadserenity-32210802acb0b22bcfe7e9e335dc6506912f6b28.zip
Meta: Use the correct clang-format
After all the work of determining the correct name for clang-format-10, we forgot to actually use it. How silly!
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 5fd5a133b7..6a84940969 100755
--- a/Meta/lint-clang-format.sh
+++ b/Meta/lint-clang-format.sh
@@ -44,6 +44,6 @@ echo "Using ${CLANG_FORMAT}"
':!:Libraries/LibCore/puff.cpp' \
':!:Libraries/LibELF/exec_elf.h' \
|| echo "'git ls-files failed!'"
-} | xargs -d'\n' clang-format-10 -style=file -i
+} | xargs -d'\n' "${CLANG_FORMAT}" -style=file -i
echo "Maybe some files have changed. Sorry, but clang-format doesn't indicate what happened."