X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=build-root%2Fscripts%2Fcheckstyle.sh;h=f4ea79adc6d686ec65deb1054a7c9a42c8ccc405;hb=refs%2Fchanges%2F57%2F8657%2F2;hp=6b760b3a440d3a959f4639b10e2bc797e1f9a9c8;hpb=d867a7cf6baffcebbf1b6e408272ec22dc55dd68;p=vpp.git 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