From f9a50f89252523542011b4ec28d467c30a855fb7 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sat, 7 May 2022 07:46:18 +0100 Subject: [PATCH] autotools.eclass: egrep -> grep -E Deprecated for a while but newer grep emits deprecation warnings. Signed-off-by: Sam James --- eclass/autotools.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass index b8eeb55fd8f29..d6c5b7f0ec0d1 100644 --- a/eclass/autotools.eclass +++ b/eclass/autotools.eclass @@ -283,7 +283,7 @@ _at_uses_pkg() { for macro ; do args+=( -e "^[[:space:]]*${macro}\>" ) done - egrep -q "${args[@]}" configure.?? + grep -E -q "${args[@]}" configure.?? fi } _at_uses_autoheader() { _at_uses_pkg A{C,M}_CONFIG_HEADER{S,}; }