Skip to content

Commit 2d63e6a

Browse files
gregkhJuliaLawall
authored andcommitted
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 521a547 commit 2d63e6a

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
@@ -47,7 +47,7 @@ FLAGS="--very-quiet"
4747
# inspected there.
4848
#
4949
# --profile will not output if --very-quiet is used, so avoid it.
50-
echo $SPFLAGS | egrep -e "--profile|--show-trying" 2>&1 > /dev/null
50+
echo $SPFLAGS | grep -E -e "--profile|--show-trying" 2>&1 > /dev/null
5151
if [ $? -eq 0 ]; then
5252
FLAGS="--quiet"
5353
fi

0 commit comments

Comments
 (0)