On Friday 01 July 2005 18:03, Thomas de Grenier de Latour wrote: > On Fri, 1 Jul 2005 17:45:57 +0300 > > Dan Armak <[EMAIL PROTECTED]> wrote: > > I'd rather signal failure to code outside the subshell by > > touching a file in $T. > > The ${T} directory does not exists when portage source an ebuild > to get its metadatas, so I'm not sure that's a good idea. > > Btw, what's wrong with the `DEPEND="$(your_function)" || die` > i've proposed? Using a return code seems to be the simplest way > to signal a failure, no? Sorry, I missed it the first time... Looks like a good way, yes (haven't tested).
-- Dan Armak Gentoo Linux developer (KDE) Public GPG key: http://dev.gentoo.org/~danarmak/danarmak-gpg-public.key Fingerprint: DD70 DBF9 E3D4 6CB9 2FDD 0069 508D 9143 8D5F 8951
pgpw9chQK33m1.pgp
Description: PGP signature