commit: df37ce46d2a17ed3c4225bce7c506931d98af59b Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Sat Jul 10 11:05:09 2021 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Sat Jul 10 11:08:12 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df37ce46
haskell-cabal.eclass: unify error message for unsupported EAPI Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> eclass/haskell-cabal.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/haskell-cabal.eclass b/eclass/haskell-cabal.eclass index a858ddea3ec..0e41325b306 100644 --- a/eclass/haskell-cabal.eclass +++ b/eclass/haskell-cabal.eclass @@ -40,11 +40,11 @@ # FEATURE can be removed once https://github.com/haskell/cabal/issues/7213 # is fixed. -case "${EAPI:-0}" in +case ${EAPI} in # eutils is for eqawarn 6|7) inherit eutils ;; 8) ;; - *) die "EAPI ${EAPI} unsupported." ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac inherit ghc-package multilib toolchain-funcs
