From be89a04a35e24f3e46936dd208534df118c36321 Mon Sep 17 00:00:00 2001 From: Dave Wallace Date: Wed, 24 Jul 2024 18:16:33 -0400 Subject: [PATCH] fix(vpp): install vpp dependencies in checkstyle job - ensure correct version of clang-format is installed Change-Id: Ieb944e8368076ca44bdc3a0060bfdd0252a71844 Signed-off-by: Dave Wallace --- jjb/scripts/vpp/checkstyle.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jjb/scripts/vpp/checkstyle.sh b/jjb/scripts/vpp/checkstyle.sh index 00fc8bdb8..7feae3980 100755 --- a/jjb/scripts/vpp/checkstyle.sh +++ b/jjb/scripts/vpp/checkstyle.sh @@ -34,9 +34,9 @@ if git show --stat | grep -q "$MATRIX_FILE" ; then fi fi -if [ -n "$(grep -E '^checkstyle:' Makefile)" ] +if grep -qE '^checkstyle:' Makefile then - make checkstyle + make UNATTENDED=yes install-deps checkstyle else - echo "Can't find checkstyle target in Makefile - skipping checkstyle" + echo "Can't find checkstyle target in Makefile - skipping checkstyle" fi -- 2.16.6