History

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.

Greg Kroah-Hartman committed 4 years ago

Commit 2d63e6a1 parent 521a5471 file · +1 −1Browse files

Showing the changes to scripts (1 of 1 file). Show all

Unified · Split

scripts/coccicheck+1−1
@@ -47,7 +47,7 @@ FLAGS="--very-quiet" · 46 unmodified lines
47# inspected there.47# inspected there.
48#48#
49# --profile will not output if --very-quiet is used, so avoid it.49# --profile will not output if --very-quiet is used, so avoid it.
50echo $SPFLAGS | egrep -e "--profile|--show-trying" 2>&1 > /dev/null50echo $SPFLAGS | grep -E -e "--profile|--show-trying" 2>&1 > /dev/null
51if [ $? -eq 0 ]; then51if [ $? -eq 0 ]; then
52 FLAGS="--quiet"52 FLAGS="--quiet"
53fi53fi

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t