[dpdk-dev] [PATCH] devtools: fix incorrect shell assignment

David Marchand david.marchand at redhat.com
Mon Mar 4 10:57:25 CET 2019


No space needed here:
./devtools/checkpatches.sh: line 65: res: command not found

Fixes: dafc04c15174 ("devtools: fix return of forbidden addition checks")
Cc: stable at dpdk.org
Signed-off-by: David Marchand <david.marchand at redhat.com>
---
 devtools/checkpatches.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devtools/checkpatches.sh b/devtools/checkpatches.sh
index 3b03b7e..02d1c30 100755
--- a/devtools/checkpatches.sh
+++ b/devtools/checkpatches.sh
@@ -62,7 +62,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
 }
-- 
1.8.3.1



More information about the dev mailing list