On Tue, 06 Jul 2021 09:34:14 +0200
Ulrich Mueller wrote:
> > On Tue, 06 Jul 2021, Sergei Trofimovich wrote:
>
> > case "${EAPI:-0}" in
>
> This could be just ${EAPI} now (and quotes were never necessary).
>
> > - 0|1) ;;
> > - 2|3|4|5|6|7) HASKELL_CABAL_EXPF+=" src_configure" ;;
> On Tue, 06 Jul 2021, Sergei Trofimovich wrote:
> case "${EAPI:-0}" in
This could be just ${EAPI} now (and quotes were never necessary).
> - 0|1) ;;
> - 2|3|4|5|6|7) HASKELL_CABAL_EXPF+=" src_configure" ;;
> + 6|7) ;;
> *) die "EAPI ${EAPI} unsupported." ;;
I'd suggest
Signed-off-by: Sergei Trofimovich
---
eclass/haskell-cabal.eclass | 29 +++--
1 file changed, 3 insertions(+), 26 deletions(-)
diff --git a/eclass/haskell-cabal.eclass b/eclass/haskell-cabal.eclass
index 5b67f43f0c5..f7a6d35e610 100644
--- a/eclass/haskell-cabal.eclass
++