Skip to contentSkip to conversation

devtools: fix incorrect shell assignment

PATCH In review David Marchand 2 participants 3 messages Mar 4, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 devtools: fix incorrect shell assignment

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

Fixes dafc04c15174 ("devtools: fix return of forbidden addition checks")
---
 devtools/checkpatches.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
devtools/checkpatches.sh +1 -1
index 3b03b7e..02d1c30 100755
@@ -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
 }
Signature · 1 line
1.8.3.1
#2 lore raw
Quoted 8 lines · Thomas Monjalon

04/03/2019 10:57, David Marchand:

Quoted 6 lines

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

Fixes dafc04c15174 ("devtools: fix return of forbidden addition checks")
Quoted 6 lines

Thank you
It is already submitted:

        https://patches.dpdk.org/patch/50727/

It is part of a patchset, waiting for a new version (for codespell feature).

Indeed, thanks.

Signature · 1 line
David Marchand