Commit 2c91ce92 authored by Linus Torvalds's avatar Linus Torvalds

Merge tag 'coccinelle-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/jlawall/linux

Pull coccicheck update from Julia Lawall:
 "Modernize use of grep in coccicheck:

  Use 'grep -E' instead of 'egrep'"

* tag 'coccinelle-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/jlawall/linux:
  scripts: coccicheck: use "grep -E" instead of "egrep"
parents 51094a24 2d63e6a3
...@@ -47,7 +47,7 @@ FLAGS="--very-quiet" ...@@ -47,7 +47,7 @@ FLAGS="--very-quiet"
# inspected there. # inspected there.
# #
# --profile will not output if --very-quiet is used, so avoid it. # --profile will not output if --very-quiet is used, so avoid it.
echo $SPFLAGS | egrep -e "--profile|--show-trying" 2>&1 > /dev/null echo $SPFLAGS | grep -E -e "--profile|--show-trying" 2>&1 > /dev/null
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
FLAGS="--quiet" FLAGS="--quiet"
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment