On Friday 01 July 2005 17:14, Jonathan Smith wrote: > Thomas de Grenier de Latour wrote: > > 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? > > calling a function in a global scope is a bad idea. it leads to lots of > unneccessary (and timely) computations
It also makes any attempts to parse ebuilds without using bash (our current strategy) a lot harder (actually causing bash reimplementation) Paul -- Paul de Vrieze Gentoo Developer Mail: [EMAIL PROTECTED] Homepage: http://www.devrieze.net
pgpUtMdsW3iQp.pgp
Description: PGP signature