commit:     ab09010cb0757f4c06d211a81f24f51ceceb917e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May  7 06:51:56 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 15 01:00:08 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab09010c

app-admin/testdisk: egrep -> grep -E

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

 app-admin/testdisk/testdisk-7.1-r1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-admin/testdisk/testdisk-7.1-r1.ebuild 
b/app-admin/testdisk/testdisk-7.1-r1.ebuild
index 2532bfd25503..6ac500bd0a2a 100644
--- a/app-admin/testdisk/testdisk-7.1-r1.ebuild
+++ b/app-admin/testdisk/testdisk-7.1-r1.ebuild
@@ -73,13 +73,13 @@ src_configure() {
        econf "${myconf[@]}"
 
        # perform safety checks for NTFS, REISERFS and JPEG
-       if use ntfs && ! egrep -q '^#define HAVE_LIBNTFS(3G)? 1$' 
"${S}"/config.h ; then
+       if use ntfs && ! grep -E -q '^#define HAVE_LIBNTFS(3G)? 1$' 
"${S}"/config.h ; then
                die "Failed to find either NTFS or NTFS-3G library."
        fi
-       if use reiserfs && egrep -q 'undef HAVE_LIBREISERFS\>' "${S}"/config.h 
; then
+       if use reiserfs && grep -E -q 'undef HAVE_LIBREISERFS\>' 
"${S}"/config.h ; then
                die "Failed to find reiserfs library."
        fi
-       if use jpeg && egrep -q 'undef HAVE_LIBJPEG\>' "${S}"/config.h ; then
+       if use jpeg && grep -E -q 'undef HAVE_LIBJPEG\>' "${S}"/config.h ; then
                die "Failed to find jpeg library."
        fi
 }

Reply via email to