1 |
>>>>> On Sun, 06 Dec 2020, Matt Turner wrote: |
2 |
|
3 |
> -[[ ${EAPI:-0} == [012345] ]] && inherit multilib |
4 |
> +[[ ${EAPI:-0} == [5] ]] && inherit multilib |
5 |
|
6 |
Useless brackets. Also you could drop the :-0 here. |
7 |
|
8 |
> case "${EAPI:-0}" in |
9 |
|
10 |
No quotes needed here. |
11 |
|
12 |
> - 0|1|2|3|4|5|6|7) ;; |
13 |
> - *) die "EAPI=${EAPI} is not supported" ;; |
14 |
> + 5|6|7) ;; |
15 |
> + 0|1|2|3|4) die "EAPI=${EAPI} is not supported" ;; |
16 |
> esac |
17 |
|
18 |
This should have a * instead of an explicit list of unknown EAPIs. |
19 |
|
20 |
> case ${EAPI:-0} in |
21 |
> -0|1|2|3|4|5|6) |
22 |
> +5|6) |
23 |
|
24 |
See above, :-0 could be dropped. |
25 |
|
26 |
Ulrich |