Spider wrote:   [Wed Nov 19 2003, 11:48:20AM EST]
> Don't emake  and econf both fail if they fail, making || die ""  
> unnecessary and even impossible?

It's really poor practice to depend on this.  I argued against this
change and was ignored.  Here are some reasons:

    - Calling die from econf/emake defeats the function and line number
      reporting that are part of die.

    - Developers have to keep track of which ebuild.sh functions call
      die and which ones don't.  It's really better to leave the error
      handling in the ebuild in all cases so that the practice is simply
      to call die in all situations where it is appropriate.

Aron

-- 
Aron Griffis
Gentoo Linux Developer (alpha / ia64 / ruby / vim)
Key fingerprint = E3B6 8734 C2D6 B5E5 AE76  FB3A 26B1 C5E3 2010 4EB0

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to