aboutsummaryrefslogtreecommitdiff
path: root/util/travis/script.sh
diff options
context:
space:
mode:
Diffstat (limited to 'util/travis/script.sh')
-rwxr-xr-xutil/travis/script.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/travis/script.sh b/util/travis/script.sh
index 32e8d2e36..19aa2fdf7 100755
--- a/util/travis/script.sh
+++ b/util/travis/script.sh
@@ -4,7 +4,7 @@
needs_compile || exit 0
-if [[ "$LINT" == "1" ]]; then
+if [[ ! -z "${CLANG_FORMAT}" ]]; then
# Lint and exit CI
perform_lint
exit 0