Gentoo Archives: gentoo-portage-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-portage-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-portage-dev] [PATCH 02/10] Use bash-4.2 for all future EAPIs, until declared otherwise
Date: Mon, 26 Feb 2018 16:00:48
Message-Id: 20180226155942.9148-3-mgorny@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH 00/10] EAPI 7, part one by "Michał Górny"
1 ---
2 bin/eapi.sh | 4 ++--
3 1 file changed, 2 insertions(+), 2 deletions(-)
4
5 diff --git a/bin/eapi.sh b/bin/eapi.sh
6 index a9c56b8ac..f3ba0da6e 100644
7 --- a/bin/eapi.sh
8 +++ b/bin/eapi.sh
9 @@ -1,5 +1,5 @@
10 #!/bin/bash
11 -# Copyright 2012 Gentoo Foundation
12 +# Copyright 2012-2018 Gentoo Foundation
13 # Distributed under the terms of the GNU General Public License v2
14
15 # PHASES
16 @@ -193,5 +193,5 @@ ___eapi_bash_3_2() {
17 }
18
19 ___eapi_bash_4_2() {
20 - [[ ${1-${EAPI-0}} =~ ^(6)$ ]]
21 + ! ___eapi_bash_3_2
22 }
23 --
24 2.16.2

Replies