Gentoo Archives: gentoo-dev

From: Michael Orlitzky <michael@××××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFD : .ebuild is only bash
Date: Wed, 14 Mar 2012 00:49:15
Message-Id: 4F5FEADF.1080405@orlitzky.com
In Reply to: Re: [gentoo-dev] RFD : .ebuild is only bash by Walter Dnes
1 On 03/13/2012 08:29 PM, Walter Dnes wrote:
2 >
3 > I'm answering Ciaran's and Brian's posts together, because the answer
4 > is the same for both... namely, we need a 2-pass processor, regardless
5 > of whether it's bash/perl/python/whatever. Pass 1 checks for syntax
6 > errors and retrieves "special" variables, answering Ciaran's concern.
7 > Today, it's EAPI. In future, there may be others. Pass 2 does the
8 > build, assuming no errors detected in pass 1.
9 >
10
11 Problem is, the only thing that can tell if there's a bash syntax error
12 is bash itself.