summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-05-07 07:46:38 +0100
committerSam James <sam@gentoo.org>2022-05-16 23:25:05 +0000
commit35f856adc153ee2697e71a280f80613ad3dedb20 (patch)
tree0efafe8b75afc16c81cb10377197c66ca1e7643d /eclass
parentepatch.eclass: egrep -> grep -E (diff)
downloadgentoo-35f856adc153ee2697e71a280f80613ad3dedb20.tar.gz
gentoo-35f856adc153ee2697e71a280f80613ad3dedb20.tar.bz2
gentoo-35f856adc153ee2697e71a280f80613ad3dedb20.zip
haskell-cabal.eclass: egrep -> grep -E
Deprecated for a while but newer grep emits deprecation warnings. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/haskell-cabal.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/haskell-cabal.eclass b/eclass/haskell-cabal.eclass
index ae3229cc2676..64dcabb852b1 100644
--- a/eclass/haskell-cabal.eclass
+++ b/eclass/haskell-cabal.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: haskell-cabal.eclass
@@ -288,8 +288,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' \