From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1S7cOw-0000YR-O1 for garchives@archives.gentoo.org; Wed, 14 Mar 2012 00:49:15 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E4403E0BF0; Wed, 14 Mar 2012 00:49:05 +0000 (UTC) Received: from mail2.viabit.com (mail2.viabit.com [65.246.80.16]) by pigeon.gentoo.org (Postfix) with ESMTP id 5A2D9E0975 for ; Wed, 14 Mar 2012 00:48:32 +0000 (UTC) Received: from [172.17.29.6] (unknown [65.213.236.242]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail2.viabit.com (Postfix) with ESMTPSA id D4A6CD8DE5 for ; Tue, 13 Mar 2012 20:48:31 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=orlitzky.com; s=mail2; t=1331686112; bh=Y6eiD345DctavbqH6uAg8fAwilHzR/NMkerbT6f9TIQ=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=GaphrY8rNPYb1tUGvBpBSzZvf7QJfUrHKRZar1CsQhjtEzd6CeQhiXSNeQDPI2F6d aXMEEtYYfowDGqwCmBK/2or+rmkCcJhNkKyHR1Y7C6Ht7KVU1lrqJ8JXlUzGm6A/k/ yoBIuNcdjdT8Yfg41w4Y4DNNhWXleGNmnmRgLUHk= Message-ID: <4F5FEADF.1080405@orlitzky.com> Date: Tue, 13 Mar 2012 20:48:31 -0400 From: Michael Orlitzky User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120312 Thunderbird/10.0.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] RFD : .ebuild is only bash References: <20120312155927.2cca0d3b@googlemail.com> <20318.11498.463319.52140@a1i15.kph.uni-mainz.de> <20120312171228.48c5b023@googlemail.com> <20120313064113.GA23544@waltdnes.org> <20120313073022.0781099c@googlemail.com> <20120314002903.GA2872@waltdnes.org> In-Reply-To: <20120314002903.GA2872@waltdnes.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: ebc48603-8c0f-4e73-b19c-310b674116b9 X-Archives-Hash: d7f6732a3c2db7271f581ec47e56a100 On 03/13/2012 08:29 PM, Walter Dnes wrote: > > I'm answering Ciaran's and Brian's posts together, because the answer > is the same for both... namely, we need a 2-pass processor, regardless > of whether it's bash/perl/python/whatever. Pass 1 checks for syntax > errors and retrieves "special" variables, answering Ciaran's concern. > Today, it's EAPI. In future, there may be others. Pass 2 does the > build, assuming no errors detected in pass 1. > Problem is, the only thing that can tell if there's a bash syntax error is bash itself.