1 |
commit: 357b53a29786d1edac47aa85417c6f281f48430c |
2 |
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
3 |
AuthorDate: Fri Nov 25 11:12:41 2022 +0000 |
4 |
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 25 11:37:00 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=357b53a2 |
7 |
|
8 |
dotnet-utils.eclass: use standard eapi guard |
9 |
|
10 |
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> |
11 |
|
12 |
eclass/dotnet-utils.eclass | 9 +++------ |
13 |
1 file changed, 3 insertions(+), 6 deletions(-) |
14 |
|
15 |
diff --git a/eclass/dotnet-utils.eclass b/eclass/dotnet-utils.eclass |
16 |
index 93f163c25..f7f84dde3 100644 |
17 |
--- a/eclass/dotnet-utils.eclass |
18 |
+++ b/eclass/dotnet-utils.eclass |
19 |
@@ -9,12 +9,9 @@ |
20 |
# @SUPPORTED_EAPIS: 7 8 |
21 |
# @BLURB: common functions and variables for dotnet builds |
22 |
|
23 |
-case "${EAPI:-0}" in |
24 |
- 7|8) |
25 |
- ;; |
26 |
- *) |
27 |
- die "Unsupported EAPI=${EAPI} for ${ECLASS}" |
28 |
- ;; |
29 |
+case ${EAPI} in |
30 |
+ 7|8) ;; |
31 |
+ *) die "${ECLASS}: EAPI ${EAPI} unsupported." ;; |
32 |
esac |
33 |
|
34 |
inherit multiprocessing |