Just an addendum to this... it went in, will be available in
2.0.51_rc4 and up.
If you want all registered death funcs to kick in,
EBUILD_DEATH_HOOKS="$EBUILD_DEATH_HOOKS the_name_of_your_func"
or if you want just your func to run
EBUILD_DEATH_HOOKS="the_name_of_your_func"
CC'ing gentoo-dev,
On Wed, Oct 05, 2005 at 04:33:17PM +, Thomas Matthijs wrote:
> Hi,
>
> I would really like a way to echo more information when a die happens so
> the users can paste it in their bug report
>
> Only needs a very simple change to ebuild.sh:
>
EBUILD_DEATH_HOOKS=''
diefunc() {
local f
Hi,
I would really like a way to echo more information when a die happens so
the users can paste it in their bug report
Only needs a very simple change to ebuild.sh:
--- ebuild.sh.orig 2005-10-04 12:22:38.0 +0200
+++ ebuild.sh 2005-10-04 12:26:45.0 +0200
@@ -280,6 +280,8 @