commit: 2753a199c72f7f567c216ecc6d2fc7724e90bb0b
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 21 09:55:44 2018 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Mar 4 21:03:52 2018 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=2753a199
Use bash-4.2 for all future EAPIs, until declared otherwise
bin/eapi.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/eapi.sh b/bin/eapi.sh
index a9c56b8ac..7d35852cd 100644
--- a/bin/eapi.sh
+++ b/bin/eapi.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-# Copyright 2012 Gentoo Foundation
+# Copyright 2012-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# PHASES
@@ -193,5 +193,5 @@ ___eapi_bash_3_2() {
}
___eapi_bash_4_2() {
- [[ ${1-${EAPI-0}} =~ ^(6)$ ]]
+ ! ___eapi_bash_3_2 "$@"
}