commit: 7f903fb49892330c151e8184998887b69aeecd30
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 4 15:43:45 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Wed Jul 7 19:47:25 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f903fb4
eclass/aspell-dict-r1.eclass: standardise error message
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
eclass/aspell-dict-r1.eclass | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/eclass/aspell-dict-r1.eclass b/eclass/aspell-dict-r1.eclass
index 09f22dbf8c0..a779bf96e82 100644
--- a/eclass/aspell-dict-r1.eclass
+++ b/eclass/aspell-dict-r1.eclass
@@ -37,13 +37,10 @@ readonly ASPELL_SPELLANG=${PN/aspell-/}
# If the value needs to be overridden, it needs to be overridden before
inheriting the eclass.
case ${EAPI:-0} in
- [0-6])
- die "${ECLASS} is banned in EAPI ${EAPI:-0}"
- ;;
[7-8])
;;
*)
- die "Unknown EAPI ${EAPI:-0}"
+ die "${ECLASS}: EAPI ${EAPI:-0} not supported"
;;
esac