commit: df0285fe6b4d7fbbe19657800202098fd006c495
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 3 17:48:36 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Sep 3 17:50:09 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df0285fe
haskell-cabal.eclass: fix egrep resurgence
Thanks to ionen for spotting.
Fixes: acecfa43882156c2e00e6babae105289e4d29675
See: 35f856adc153ee2697e71a280f80613ad3dedb20
Signed-off-by: Sam James <sam <AT> gentoo.org>
eclass/haskell-cabal.eclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/eclass/haskell-cabal.eclass b/eclass/haskell-cabal.eclass
index d437fc824f53..732ea83e653c 100644
--- a/eclass/haskell-cabal.eclass
+++ b/eclass/haskell-cabal.eclass
@@ -359,8 +359,8 @@ cabal-show-brokens() {
elog "ghc-pkg check: 'checking for other broken packages:'"
# pretty-printer
$(ghc-getghcpkg) check 2>&1 \
- | egrep -v '^Warning: haddock-(html|interfaces): ' \
- | egrep -v '^Warning: include-dirs: ' \
+ | grep -E -v '^Warning: haddock-(html|interfaces): ' \
+ | grep -E -v '^Warning: include-dirs: ' \
| head -n 20
cabal-die-if-nonempty 'broken' \