]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - util/travis/lint.sh
Update our tooling (Clang 5 -> 7, GCC 7 -> 8)
[dragonfireclient.git] / util / travis / lint.sh
index 887e621f58e90710b5e4a19e5ad5bcc5d246ad3d..b3027c689efca3d66e9235d4a6a061a4e15cbdd9 100644 (file)
@@ -1,9 +1,7 @@
 #! /bin/bash
 function perform_lint() {
        echo "Performing LINT..."
-       if hash clang-format-5.0 2>/dev/null; then
-               CLANG_FORMAT=clang-format-5.0
-       else
+       if [ -z "${CLANG_FORMAT}" ]; then
                CLANG_FORMAT=clang-format
        fi
        echo "LINT: Using binary $CLANG_FORMAT"