Dan Armak wrote:        [Thu Jun 30 2005, 04:06:03PM EDT]
> Because the function takes a parameter - the minimal version
> required from which to start the list in the ||.

Makes sense.

> Any everyone who thinks functions inside $DEPEND are iffy should
> look at deprange() and deprange-dual()... /me hides

They're definitely iffy.  Try this at a bash prompt:

    DEPEND="$(exit 1)"

See the problem?  It didn't exit.  That's what will happen if
a function in DEPEND fails: nothing.  Except that yours will currently
stick this in DEPEND:

    !!! error: qt_min_version called with invalid parameter: \"$1\",
    please report bug

Regards,
Aron

--
Aron Griffis
Gentoo Linux Developer

Attachment: pgpExPqVfjVEn.pgp
Description: PGP signature

Reply via email to