Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@g.o>
To: Mike Frysinger <vapier@g.o>
Cc: gentoo-dev@l.g.o, pms-bugs@g.o
Subject: [gentoo-dev] Re: [PATCH] Recommend setting the bash compatibility level. (was: Re: utilizing BASH_COMPAT to smooth upgrades)
Date: Thu, 22 Oct 2015 15:00:42
Message-Id: 22056.64006.683671.569953@a1i15.kph.uni-mainz.de
In Reply to: [gentoo-dev] Re: [PATCH] Recommend setting the bash compatibility level. (was: Re: utilizing BASH_COMPAT to smooth upgrades) by Mike Frysinger
1 >>>>> On Thu, 22 Oct 2015, Mike Frysinger wrote:
2
3 > On 21 Oct 2015 09:34, Ulrich Mueller wrote:
4 >> "The interpreter is assumed to be GNU bash, version as listed in
5 >> table xyz, or any later version. If possible, the package manager
6 >> should set the shell's compatibility level to the exact version
7 >> specified. It must ensure that any such compatibility settings
8 >> (e.g. the BASH_COMPAT variable) are not exported to external
9 >> programs."
10
11 > why not include the shell script snippet too ?
12
13 I'd rather not. BASH_COMPAT doesn't work with <bash-4.3 (one has to
14 use compatXX there) and also we don't know if the method won't change
15 again in future versions of bash.
16
17 Ulrich

Replies