Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Mon, 16 May 2022 23:29:52
Message-Id: 1652743505.35f856adc153ee2697e71a280f80613ad3dedb20.sam@gentoo
1 commit: 35f856adc153ee2697e71a280f80613ad3dedb20
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 7 06:46:38 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon May 16 23:25:05 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35f856ad
7
8 haskell-cabal.eclass: egrep -> grep -E
9
10 Deprecated for a while but newer grep emits deprecation warnings.
11
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 eclass/haskell-cabal.eclass | 6 +++---
15 1 file changed, 3 insertions(+), 3 deletions(-)
16
17 diff --git a/eclass/haskell-cabal.eclass b/eclass/haskell-cabal.eclass
18 index ae3229cc2676..64dcabb852b1 100644
19 --- a/eclass/haskell-cabal.eclass
20 +++ b/eclass/haskell-cabal.eclass
21 @@ -1,4 +1,4 @@
22 -# Copyright 1999-2021 Gentoo Authors
23 +# Copyright 1999-2022 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 # @ECLASS: haskell-cabal.eclass
27 @@ -288,8 +288,8 @@ cabal-show-brokens() {
28 elog "ghc-pkg check: 'checking for other broken packages:'"
29 # pretty-printer
30 $(ghc-getghcpkg) check 2>&1 \
31 - | egrep -v '^Warning: haddock-(html|interfaces): ' \
32 - | egrep -v '^Warning: include-dirs: ' \
33 + | grep -E -v '^Warning: haddock-(html|interfaces): ' \
34 + | grep -E -v '^Warning: include-dirs: ' \
35 | head -n 20
36
37 cabal-die-if-nonempty 'broken' \