projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bab5503
)
scripts: coccicheck: Avoid warning about spurious escape
author
Peter Foley
<pefoley2@pefoley.com>
Fri, 13 Jan 2023 17:29:36 +0000
(12:29 -0500)
committer
Julia Lawall
<Julia.Lawall@inria.fr>
Sat, 25 Feb 2023 19:08:50 +0000
(20:08 +0100)
e.g.
grep: warning: stray \ before -
Signed-off-by: Peter Foley <pefoley2@pefoley.com>
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
scripts/coccicheck
patch
|
blob
|
blame
|
history
diff --git
a/scripts/coccicheck
b/scripts/coccicheck
index 2956fce8fa4fc82fd941e7785e742d526ad142c2..fb492f032c5fe7f8cacb0aa14dc041b7c5adb3c7 100755
(executable)
--- 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'