Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Jeremy Olexa <darkside@g.o>
Subject: Re: Usage of econf with an additional || die
Date: Tue, 30 Sep 2008 07:03:57 -0500
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


Replies:
Re: Usage of econf with an additional || die
-- Thomas Sachau
References:
Re: Default src_install for EAPI-2 or following EAPI
-- Ulrich Mueller
Re: Re: Default src_install for EAPI-2 or following EAPI
-- Thomas Sachau
Re: Re: Default src_install for EAPI-2 or following EAPI
-- Bo Ørsted Andresen
Re: Re: Default src_install for EAPI-2 or following EAPI
-- Nirbheek Chauhan
Re: Re: Default src_install for EAPI-2 or following EAPI
-- Thomas Sachau
Usage of econf with an additional || die
-- Thomas Sachau
Re: Usage of econf with an additional || die
-- Peter Volkov
Re: Usage of econf with an additional || die
-- Ben de Groot
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Usage of econf with an additional || die
Next by thread:
Re: Usage of econf with an additional || die
Previous by date:
Re: Usage of econf with an additional || die
Next by date:
Re: [gentoo-commits] gentoo-x86 commit in profiles: package.mask


Updated Jun 17, 2009

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.