Commit 2d63e6a3 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman Committed by Julia Lawall
Browse files

scripts: coccicheck: use "grep -E" instead of "egrep"



The latest version of grep claims that egrep is now obsolete so the build
now contains warnings that look like:
        egrep: warning: egrep is obsolescent; using grep -E
fix this up by moving the vdso Makefile to use "grep -E" instead.

Cc: Julia Lawall <Julia.Lawall@inria.fr>
Cc: Nicolas Palix <nicolas.palix@imag.fr>
Cc: cocci@inria.fr
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 521a547c
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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