summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2021-07-10 12:05:09 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2021-07-10 12:08:12 +0100
commitdf37ce46d2a17ed3c4225bce7c506931d98af59b (patch)
tree678c9612ce80d5f0b09297d2d57d12744ebc03f0 /eclass
parentghc-package.eclass: unify error message for unsupported EAPI (diff)
downloadgentoo-df37ce46d2a17ed3c4225bce7c506931d98af59b.tar.gz
gentoo-df37ce46d2a17ed3c4225bce7c506931d98af59b.tar.bz2
gentoo-df37ce46d2a17ed3c4225bce7c506931d98af59b.zip
haskell-cabal.eclass: unify error message for unsupported EAPI
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/haskell-cabal.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/haskell-cabal.eclass b/eclass/haskell-cabal.eclass
index a858ddea3ec2..0e41325b3061 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