aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/checkstyle.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/checkstyle.sh')
-rwxr-xr-xscripts/checkstyle.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/checkstyle.sh b/scripts/checkstyle.sh
index 7b0ee61..85af5af 100755
--- a/scripts/checkstyle.sh
+++ b/scripts/checkstyle.sh
@@ -71,7 +71,7 @@ fi
cd ${UDPI_DIR}
git status
for i in ${FILELIST}; do
- if [ -f ${i} ] && [ ${i} != "build-root/scripts/checkstyle.sh" ] && [ ${i} != "extras/emacs/fix-coding-style.el" ]; then
+ if [ -f ${i} ] && [ ${i} != "scripts/checkstyle.sh" ] && [ ${i} != "extras/emacs/fix-coding-style.el" ]; then
grep -q "fd.io coding-style-patch-verification: ON" ${i}
if [ $? == 0 ]; then
EXTENSION=`basename ${i} | sed 's/^\w\+.//'`
@@ -144,7 +144,7 @@ else
echo "*******************************************************************"
echo "* VPP CHECKSTYLE FAILED"
echo "* CONSULT FAILURE LOG ABOVE"
- echo "* NOTE: Running 'build-root/scripts/checkstyle.sh --fix' *MAY* fix the issue"
+ echo "* NOTE: Running 'scripts/checkstyle.sh --fix' *MAY* fix the issue"
echo "*******************************************************************"
fi
exit ${EXIT_CODE}