summaryrefslogtreecommitdiffstats
path: root/.ci/scripts
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2022-12-30 21:20:20 +0100
committerGitHub <noreply@github.com>2022-12-30 21:20:20 +0100
commit88f5d38b9349afefd9257a779323531b21001500 (patch)
tree56dc617070177f11938ab02dd81b783bfa2496b6 /.ci/scripts
parentMerge pull request #9524 from bunnei/touch-button-crash-fix (diff)
parentci: Allow setting clang-format binary (diff)
downloadyuzu-88f5d38b9349afefd9257a779323531b21001500.tar
yuzu-88f5d38b9349afefd9257a779323531b21001500.tar.gz
yuzu-88f5d38b9349afefd9257a779323531b21001500.tar.bz2
yuzu-88f5d38b9349afefd9257a779323531b21001500.tar.lz
yuzu-88f5d38b9349afefd9257a779323531b21001500.tar.xz
yuzu-88f5d38b9349afefd9257a779323531b21001500.tar.zst
yuzu-88f5d38b9349afefd9257a779323531b21001500.zip
Diffstat (limited to '')
-rwxr-xr-x[-rw-r--r--].ci/scripts/format/script.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.ci/scripts/format/script.sh b/.ci/scripts/format/script.sh
index 119abae6a..225bbc972 100644..100755
--- a/.ci/scripts/format/script.sh
+++ b/.ci/scripts/format/script.sh
@@ -10,7 +10,7 @@ if grep -nrI '\s$' src *.yml *.txt *.md Doxyfile .gitignore .gitmodules .ci* dis
fi
# Default clang-format points to default 3.5 version one
-CLANG_FORMAT=clang-format-12
+CLANG_FORMAT=${CLANG_FORMAT:-clang-format-12}
$CLANG_FORMAT --version
if [ "$TRAVIS_EVENT_TYPE" = "pull_request" ]; then