From: Peter Foley Date: Fri, 13 Jan 2023 17:29:36 +0000 (-0500) Subject: scripts: coccicheck: Avoid warning about spurious escape X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=180da5ef84fba0a8ea06870a38d6d657d689944a;p=linux.git scripts: coccicheck: Avoid warning about spurious escape e.g. grep: warning: stray \ before - Signed-off-by: Peter Foley Signed-off-by: Julia Lawall --- diff --git a/scripts/coccicheck b/scripts/coccicheck index 2956fce8fa4fc..fb492f032c5fe 100755 --- a/scripts/coccicheck +++ b/scripts/coccicheck @@ -18,7 +18,7 @@ fi SPATCH_VERSION=$($SPATCH --version | head -1 | awk '{print $3}') USE_JOBS="no" -$SPATCH --help | grep "\-\-jobs" > /dev/null && USE_JOBS="yes" +$SPATCH --help | grep -e "--jobs" > /dev/null && USE_JOBS="yes" # The verbosity may be set by the environmental parameter V= # as for example with 'make V=1 coccicheck'