1 |
On 03/06/2018 12:25 PM, Michał Górny wrote: |
2 |
> --- |
3 |
> eclass/eapi7-ver.eclass | 2 +- |
4 |
> 1 file changed, 1 insertion(+), 1 deletion(-) |
5 |
> |
6 |
> diff --git a/eclass/eapi7-ver.eclass b/eclass/eapi7-ver.eclass |
7 |
> index 7eb070c68171..6117124a90a5 100644 |
8 |
> --- a/eclass/eapi7-ver.eclass |
9 |
> +++ b/eclass/eapi7-ver.eclass |
10 |
> @@ -63,7 +63,7 @@ case ${EAPI:-0} in |
11 |
> 6) |
12 |
> ;; |
13 |
> *) |
14 |
> - die "${ECLASS}: EAPI=${EAPI} unknown";; |
15 |
> + die "${ECLASS}: EAPI=${EAPI} includes all functions from this eclass";; |
16 |
> esac |
17 |
> |
18 |
|
19 |
That error message might be a lie; think exheres-0. I think you can put |
20 |
the "6" case first, and then change the "0|1|2|3|4|5" case to "*" to |
21 |
have all others die with "not supported". |