Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] EAPI5: require ebuilds/eclasses to not use any vars/funcs prefixed with __
Date: Thu, 13 Sep 2012 08:33:18
Message-Id: 20561.39424.625509.299133@a1i15.kph.uni-mainz.de
In Reply to: Re: [gentoo-dev] EAPI5: require ebuilds/eclasses to not use any vars/funcs prefixed with __ by David Leverton
1 >>>>> On Thu, 13 Sep 2012, David Leverton wrote:
2
3 > It's nice to be able to do
4 > local SANDBOX_WRITE=${SANDBOX_WRITE}
5 > and then allow bash to restore the old value at the end of the
6 > function, regardless of how it exits. It's not the end of the world
7 > to lose this, but it would be a bit of a shame IMHO - having to do it
8 > manually seems a little error-prone.
9
10 Maybe we should just document the SANDBOX_* variables? Looks like the
11 easiest solution to me.
12
13 The problem with adding an option to addwrite is that eclasses would
14 have to stick with the existing solution, or add a pointless case
15 distinction. Otherwise it won't work for all EAPIs.
16
17 Ulrich

Replies