Gentoo Archives: gentoo-dev

From: Sam James <sam@g.o>
To: gentoo-dev@l.g.o
Cc: qa@g.o, base-system@g.o, ruby@g.o, haskell@g.o, Rolf Eike Beer <eike@×××××××.de>, Sam James <sam@g.o>
Subject: [gentoo-dev] [PATCH v2 3/5] haskell-cabal.eclass: egrep -> grep -E
Date: Sun, 15 May 2022 01:09:48
Message-Id: 20220515010842.91619-3-sam@gentoo.org
In Reply to: [gentoo-dev] [PATCH v2 1/5] autotools.eclass: egrep -> grep -E by Sam James
1 Signed-off-by: Sam James <sam@g.o>
2 ---
3 eclass/haskell-cabal.eclass | 6 +++---
4 1 file changed, 3 insertions(+), 3 deletions(-)
5
6 diff --git a/eclass/haskell-cabal.eclass b/eclass/haskell-cabal.eclass
7 index ae3229cc2676..64dcabb852b1 100644
8 --- a/eclass/haskell-cabal.eclass
9 +++ b/eclass/haskell-cabal.eclass
10 @@ -1,4 +1,4 @@
11 -# Copyright 1999-2021 Gentoo Authors
12 +# Copyright 1999-2022 Gentoo Authors
13 # Distributed under the terms of the GNU General Public License v2
14
15 # @ECLASS: haskell-cabal.eclass
16 @@ -288,8 +288,8 @@ cabal-show-brokens() {
17 elog "ghc-pkg check: 'checking for other broken packages:'"
18 # pretty-printer
19 $(ghc-getghcpkg) check 2>&1 \
20 - | egrep -v '^Warning: haddock-(html|interfaces): ' \
21 - | egrep -v '^Warning: include-dirs: ' \
22 + | grep -E -v '^Warning: haddock-(html|interfaces): ' \
23 + | grep -E -v '^Warning: include-dirs: ' \
24 | head -n 20
25
26 cabal-die-if-nonempty 'broken' \
27 --
28 2.35.1