Ben de Groot wrote:

So, can we have a nice little table of which functions die by themselves
and which ones need || die added in ebuilds? Please?

Thanks,


A quick grep of /usr/lib/portage/bin clues you in that every function that is an external file does *not* die by itself. So, emake, do*, etc..

%% grep -c die * |grep -v ":0"
ebuild.sh:61
etc-update:14
isolated-functions.sh:18
misc-functions.sh:26
repoman:2

I believe this is because you can have those functions in a subshell and then die won't behave predictably. I'm sure some PM people will correct me if I am wrong. ;)

-Jeremy

Reply via email to