1 |
commit: e3d44fc71b6f388535f480373496ba447c2f4a9b |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 31 03:30:53 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 20 21:46:31 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3d44fc7 |
7 |
|
8 |
user.eclass: update _assert_pkg_ebuild_phase fatal error |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
eclass/user.eclass | 4 ++-- |
13 |
1 file changed, 2 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/eclass/user.eclass b/eclass/user.eclass |
16 |
index ef89c065bd8..2d69da3a651 100644 |
17 |
--- a/eclass/user.eclass |
18 |
+++ b/eclass/user.eclass |
19 |
@@ -39,8 +39,8 @@ _assert_pkg_ebuild_phase() { |
20 |
*) |
21 |
eerror "'$1()' called from '${EBUILD_PHASE}' phase which is not OK:" |
22 |
eerror "You may only call from pkg_{setup,{pre,post}{inst,rm}} functions." |
23 |
- eerror "Package fails at QA and at life. Please file a bug." |
24 |
- die "Bad package! $1 is only for use in some pkg_* functions!" |
25 |
+ eerror "Package has serious QA issues. Please file a bug." |
26 |
+ die "Bad package! ${1} is only for use in some pkg_* functions!" |
27 |
esac |
28 |
} |