Skip to content

Commit 180da5e

Browse files
pefoley2JuliaLawall
authored andcommitted
scripts: coccicheck: Avoid warning about spurious escape
e.g. grep: warning: stray \ before - Signed-off-by: Peter Foley <[email protected]> Signed-off-by: Julia Lawall <[email protected]>
1 parent bab5503 commit 180da5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/coccicheck

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ fi
1818
SPATCH_VERSION=$($SPATCH --version | head -1 | awk '{print $3}')
1919

2020
USE_JOBS="no"
21-
$SPATCH --help | grep "\-\-jobs" > /dev/null && USE_JOBS="yes"
21+
$SPATCH --help | grep -e "--jobs" > /dev/null && USE_JOBS="yes"
2222

2323
# The verbosity may be set by the environmental parameter V=
2424
# as for example with 'make V=1 coccicheck'

0 commit comments

Comments
 (0)