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 19:22:18 +0800
commitf510ce78a4d9606a83640a54e5bd44673373819a (patch)
tree6792b2d9d1504ae8af10814b7de9d7f5c0260459 /scripts
parentb8ae3c1a89a9c8a717f1e57d74f150df2f5e4d37 (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}