On Fri, 27 Feb 2009 00:46:04 +0530
Nirbheek Chauhan <nirbh...@gentoo.org> wrote:
> Ah, I thought I might be missing something. Then how about:
> 
> "EAPI must be set in an ebuild as the first non-comment line, such
> that bash does not perform any expansions during the assignment, and
> thereafter must not be set to a different value"

Close, but no banana. You've also got to specify that any syntax used
up to and including that line has to be bash-3 legal.

The problem is... If bash-5 introduces multi-line comments or a new
assignment syntax, your version doesn't forbid:

    #* Copyright etc
       more multiline stuff
    *#

    let EAPI = 3

Unfortunately, we have to care about these things when doing the formal
spec... There're developers who'll pull all kinds of insane crap in the
tree...

-- 
Ciaran McCreesh

Attachment: signature.asc
Description: PGP signature

Reply via email to