Gentoo Archives: gentoo-portage-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] ebuild: set up bash compat levels
Date: Wed, 11 Nov 2015 20:55:56
Message-Id: 20151111205551.GE5154@vapier.lan
In Reply to: Re: [gentoo-portage-dev] [PATCH] ebuild: set up bash compat levels by Zac Medico
1 On 11 Nov 2015 11:42, Zac Medico wrote:
2 > On 11/10/2015 08:39 PM, Mike Frysinger wrote:
3 > > +# Set up the bash version compatibility level.
4 > > +__check_bash_version() {
5 >
6 > Please unset all new internal function inside bin/save-ebuild-env.sh.
7 > Note that it already uses this line to unset functions beginning with
8 > ___eapi:
9 >
10 > unset -f $(compgen -A function ___eapi_)
11
12 why don't we create a new namespace for portage funcs ? something like __e* ?
13
14 > However, your __eapi functions will not be matched because they only
15 > begin with 2 underscores.
16
17 that wasn't intentional. i'll change it to 3.
18 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies