summaryrefslogtreecommitdiff
path: root/devtools
diff options
context:
space:
mode:
authorMichael Santana <msantana@redhat.com>2019-03-04 14:07:16 -0500
committerThomas Monjalon <thomas@monjalon.net>2019-03-04 22:46:10 +0100
commit1f6168503e882a37efbc8746e42c8af01a342405 (patch)
tree6edb9dc16b7053711b54bb1f2182eead4950f988 /devtools
parentabdd314151b304eeab08528555e884544151a2e4 (diff)
downloaddpdk-next-eventdev-1f6168503e882a37efbc8746e42c8af01a342405.zip
dpdk-next-eventdev-1f6168503e882a37efbc8746e42c8af01a342405.tar.gz
dpdk-next-eventdev-1f6168503e882a37efbc8746e42c8af01a342405.tar.xz
devtools: fix result of svg include check
Fix trivial bug. In sh shell, 'foo = 1' is not the same as 'foo=1'. Using 'foo = 1' makes the shell attempt to interpret foo as a command, rather than a simple variable assignment. Fixes: dafc04c15174 ("devtools: fix return of forbidden addition checks") Cc: stable@dpdk.org Signed-off-by: Michael Santana <msantana@redhat.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com> Reviewed-by: David Marchand <david.marchand@redhat.com>
Diffstat (limited to 'devtools')
-rwxr-xr-xdevtools/checkpatches.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/checkpatches.sh b/devtools/checkpatches.sh
index 2cf2404..3272774 100755
--- a/devtools/checkpatches.sh
+++ b/devtools/checkpatches.sh
@@ -73,7 +73,7 @@ check_forbidden_additions() { # <patch>
-v RET_ON_FAIL=1 \
-v MESSAGE='Using explicit .svg extension instead of .*' \
-f $(dirname $(readlink -e $0))/check-forbidden-tokens.awk \
- "$1" || res = 1
+ "$1" || res=1
return $res
}