Gentoo Archives: gentoo-dev

From: Dan Armak <danarmak@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: RFC: qt.eclass
Date: Fri, 01 Jul 2005 15:37:33
Message-Id: 200507011834.37454.danarmak@gentoo.org
In Reply to: Re: [gentoo-dev] Re: RFC: qt.eclass by Thomas de Grenier de Latour
1 On Friday 01 July 2005 18:03, Thomas de Grenier de Latour wrote:
2 > On Fri, 1 Jul 2005 17:45:57 +0300
3 >
4 > Dan Armak <danarmak@g.o> wrote:
5 > > I'd rather signal failure to code outside the subshell by
6 > > touching a file in $T.
7 >
8 > The ${T} directory does not exists when portage source an ebuild
9 > to get its metadatas, so I'm not sure that's a good idea.
10 >
11 > Btw, what's wrong with the `DEPEND="$(your_function)" || die`
12 > i've proposed? Using a return code seems to be the simplest way
13 > to signal a failure, no?
14 Sorry, I missed it the first time... Looks like a good way, yes (haven't
15 tested).
16
17 --
18 Dan Armak
19 Gentoo Linux developer (KDE)
20 Public GPG key: http://dev.gentoo.org/~danarmak/danarmak-gpg-public.key
21 Fingerprint: DD70 DBF9 E3D4 6CB9 2FDD 0069 508D 9143 8D5F 8951