summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-05-07 07:46:18 +0100
committerSam James <sam@gentoo.org>2022-05-16 23:25:03 +0000
commitf9a50f89252523542011b4ec28d467c30a855fb7 (patch)
tree2ef9bf001fbfe4860dcb2a8a045abdf57b794177 /eclass
parentx11-misc/alock: avoid using which in configure (diff)
downloadgentoo-f9a50f89252523542011b4ec28d467c30a855fb7.tar.gz
gentoo-f9a50f89252523542011b4ec28d467c30a855fb7.tar.bz2
gentoo-f9a50f89252523542011b4ec28d467c30a855fb7.zip
autotools.eclass: egrep -> grep -E
Deprecated for a while but newer grep emits deprecation warnings. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/autotools.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
index b8eeb55fd8f2..d6c5b7f0ec0d 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,}; }