summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-09-03 18:48:36 +0100
committerSam James <sam@gentoo.org>2022-09-03 18:50:09 +0100
commitdf0285fe6b4d7fbbe19657800202098fd006c495 (patch)
tree50b34e7c66e6c5040ef494fb6885ec06897cbcf2 /eclass/haskell-cabal.eclass
parentdev-python/python-dotenv: 0.21.0 (diff)
downloadgentoo-df0285fe6b4d7fbbe19657800202098fd006c495.tar.gz
gentoo-df0285fe6b4d7fbbe19657800202098fd006c495.tar.bz2
gentoo-df0285fe6b4d7fbbe19657800202098fd006c495.zip
haskell-cabal.eclass: fix egrep resurgence
Thanks to ionen for spotting. Fixes: acecfa43882156c2e00e6babae105289e4d29675 See: 35f856adc153ee2697e71a280f80613ad3dedb20 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/haskell-cabal.eclass')
-rw-r--r--eclass/haskell-cabal.eclass4
1 files 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' \