aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJunfeng Wang <drenfong.wang@intel.com>2020-03-20 18:29:53 +0800
committerJunfeng Wang <drenfong.wang@intel.com>2020-03-20 11:37:32 +0000
commit11ecf78e61442984d92d5551f83b521bc5721f87 (patch)
treebbd4d4ed2ccf374c98ccf9e5c3d808a251fe481c /scripts
parent277865ce3934cb9c0ff936608e9695b7c0b99003 (diff)
fix message func miss and build
Change-Id: Ifc6a3337c63d69bd4d479cf7a97974c17f809cf4 Signed-off-by: Junfeng Wang <drenfong.wang@intel.com>
Diffstat (limited to 'scripts')
-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}