1 |
commit: f9a50f89252523542011b4ec28d467c30a855fb7 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 7 06:46:18 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 16 23:25:03 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9a50f89 |
7 |
|
8 |
autotools.eclass: egrep -> grep -E |
9 |
|
10 |
Deprecated for a while but newer grep emits deprecation warnings. |
11 |
|
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
eclass/autotools.eclass | 2 +- |
15 |
1 file changed, 1 insertion(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass |
18 |
index b8eeb55fd8f2..d6c5b7f0ec0d 100644 |
19 |
--- a/eclass/autotools.eclass |
20 |
+++ b/eclass/autotools.eclass |
21 |
@@ -283,7 +283,7 @@ _at_uses_pkg() { |
22 |
for macro ; do |
23 |
args+=( -e "^[[:space:]]*${macro}\>" ) |
24 |
done |
25 |
- egrep -q "${args[@]}" configure.?? |
26 |
+ grep -E -q "${args[@]}" configure.?? |
27 |
fi |
28 |
} |
29 |
_at_uses_autoheader() { _at_uses_pkg A{C,M}_CONFIG_HEADER{S,}; } |