From ab09010cb0757f4c06d211a81f24f51ceceb917e Mon Sep 17 00:00:00 2001 From: Sam James Date: Sat, 7 May 2022 07:51:56 +0100 Subject: app-admin/testdisk: egrep -> grep -E Signed-off-by: Sam James --- app-admin/testdisk/testdisk-7.1-r1.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app-admin/testdisk') 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 } -- cgit v1.2.3-65-gdbad