diff options
| author | Sergei Trofimovich <slyfox@gentoo.org> | 2021-07-10 12:04:18 +0100 |
|---|---|---|
| committer | Sergei Trofimovich <slyfox@gentoo.org> | 2021-07-10 12:08:12 +0100 |
| commit | ba01bd910d9667dbc7a1a80873ec3a23d897ed62 (patch) | |
| tree | 81a9d6e315b292c05c644498019ddbfe09ba74f4 | |
| parent | fff0ee1b6c74df5f1598f5a2874fb67cfe09250b (diff) | |
| download | gentoo-ba01bd910d9667dbc7a1a80873ec3a23d897ed62.tar.gz gentoo-ba01bd910d9667dbc7a1a80873ec3a23d897ed62.tar.bz2 gentoo-ba01bd910d9667dbc7a1a80873ec3a23d897ed62.zip | |
ghc-package.eclass: unify error message for unsupported EAPI
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
| -rw-r--r-- | eclass/ghc-package.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/ghc-package.eclass b/eclass/ghc-package.eclass index e91fb2912f65..1d90c7fc383e 100644 --- a/eclass/ghc-package.eclass +++ b/eclass/ghc-package.eclass @@ -14,10 +14,10 @@ inherit multiprocessing # Maintain version-testing compatibility with ebuilds not using EAPI 7. -case "${EAPI:-0}" in +case ${EAPI} in 7|8) ;; 6) inherit eapi7-ver ;; - *) die "EAPI ${EAPI} unsupported." ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac # GHC uses it's own native code generator. Portage's |
