commit:     e810fb4cf1af6b7fe7d00ea7b73e99e917d83fc0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May 15 01:01:42 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 15 01:02:44 2022 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=e810fb4c

bin/install-qa-check.d/60pkgconfig: egrep -> grep -E

Signed-off-by: Sam James <sam <AT> gentoo.org>

 bin/install-qa-check.d/60pkgconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/install-qa-check.d/60pkgconfig 
b/bin/install-qa-check.d/60pkgconfig
index 25143275f..d4ba42f5b 100644
--- a/bin/install-qa-check.d/60pkgconfig
+++ b/bin/install-qa-check.d/60pkgconfig
@@ -11,7 +11,7 @@ pkgconfig_check() {
        local f
 
        # Look for leaking LDFLAGS into pkg-config files
-       f=$(egrep -zsH '^Libs.*-Wl,(-O[012]|--hash-style)' "${files[@]}")
+       f=$(grep -E -zsH '^Libs.*-Wl,(-O[012]|--hash-style)' "${files[@]}")
        if [[ -n ${f} ]] ; then
                eqawarn "QA Notice: pkg-config files with wrong LDFLAGS 
detected:"
                eqatag -v pkgconfig.bad-ldlags "${f//${D}}"
@@ -69,7 +69,7 @@ pkgconfig_check() {
                        fi
 
                        # In ${ED}/usr/lib, we shouldn't reference lib64
-                       if egrep -q "=(/usr)?/lib64" ${f} ; then
+                       if grep -E -q "=(/usr)?/lib64" ${f} ; then
                                bad_libdir+=( "${f//${D}}" )
                        fi
                elif [[ ${f} == *lib64/pkgconfig* ]] ; then

Reply via email to