diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-07-08 15:03:58 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-07-08 15:03:58 +0100 |
commit | 814f4cf860e299a046b649eaee5463427984c09c (patch) | |
tree | 74c45f097899310e599dad6b8df5b63e0f085bc0 /eclass/go-module.eclass | |
parent | 7f0ccc917c7abe6223784c703d86cd14755691fb (diff) |
gentoo resync : 08.07.2021
Diffstat (limited to 'eclass/go-module.eclass')
-rw-r--r-- | eclass/go-module.eclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/go-module.eclass b/eclass/go-module.eclass index c11895944cdc..053861a1a180 100644 --- a/eclass/go-module.eclass +++ b/eclass/go-module.eclass @@ -7,7 +7,7 @@ # @AUTHOR: # William Hubbs <williamh@gentoo.org> # Robin H. Johnson <robbat2@gentoo.org> -# @SUPPORTED_EAPIS: 7 +# @SUPPORTED_EAPIS: 7 8 # @BLURB: basic eclass for building software written as go modules # @DESCRIPTION: # This eclass provides basic settings and functions needed by all software @@ -46,9 +46,9 @@ # # @CODE -case ${EAPI:-0} in - 7) ;; - *) die "${ECLASS} EAPI ${EAPI} is not supported." +case ${EAPI} in + 7|8) ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac if [[ -z ${_GO_MODULE} ]]; then |