aboutsummaryrefslogtreecommitdiffstats
path: root/build-root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'build-root/scripts')
-rwxr-xr-xbuild-root/scripts/checkstyle.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-root/scripts/checkstyle.sh b/build-root/scripts/checkstyle.sh
index 6b760b3a440..f4ea79adc6d 100755
--- a/build-root/scripts/checkstyle.sh
+++ b/build-root/scripts/checkstyle.sh
@@ -39,8 +39,8 @@ indent --version
# Check to make sure we have clang-format. Exit if we don't with an error message, but
# don't *fail*.
-command -v clang-format > /dev/null
HAVE_CLANG_FORMAT=0
+command -v clang-format > /dev/null
if [ $? != 0 ]; then
echo "Could not find command \"clang-format\". Checking C++ files will cause abort"
else