-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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 remember your ebuild/end-of-mentoring quiz? - -- smithj Gentoo Developer [ desktop-misc && netmon && documentation ] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCxV3Ml5AvwDPiUowRAhosAJ9IWOLs3Eknu3BB/NwkKyAGpx/W3gCfag0P dbjvgc97tDcrjHE5WSfLtiY= =XX8N -----END PGP SIGNATURE----- -- gentoo-dev@gentoo.org mailing list