jjb/vpp: fix bad test for makefile target
[ci-management.git] / jjb / vpp / include-raw-vpp-checkstyle.sh
1 #!/bin/bash
2 # jjb/vpp/include-raw-vpp-checkstyle.sh
3
4 if [ -n "$(grep -E '^checkstyle:' Makefile)" ]
5 then
6         make checkstyle
7 else
8         echo "Can't find checkstyle target in Makefile - skipping checkstyle"
9 fi