diff options
Diffstat (limited to 'jjb')
-rwxr-xr-x | jjb/scripts/vpp/checkstyle.sh | 6 |
1 files 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 |