commit:     8b80d2fa2d1cf77cd3ee1d31daa1017912fc596b
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 10 05:34:18 2017 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sun Sep 10 05:36:33 2017 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=8b80d2fa

bootstrap-prefix.sh: require >=bash-4.2 to be available in stage2.

  Many essential ebuilds, like app-portage/elt-patches are at EAPI=6,
  which requires bash-4.2 to function.

 scripts/bootstrap-prefix.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index d5ed16e814..c300b5ac07 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -1225,7 +1225,7 @@ bootstrap_stage1() {
        [[ $(patch --version 2>&1) == *"patch 2."[6-9]*GNU* ]] || 
(bootstrap_patch) || return 1
        [[ $(grep --version 2>&1) == *GNU* ]] || (bootstrap_grep) || return 1
        [[ $(awk --version < /dev/null 2>&1) == *GNU* ]] || bootstrap_gawk || 
return 1
-       [[ $(bash --version 2>&1) == "GNU bash, version 4."[123456789]* && 
${CHOST} != *-aix* ]] \
+       [[ $(bash --version 2>&1) == "GNU bash, version 4."[23456789]* && 
${CHOST} != *-aix* ]] \
                || [[ -x ${ROOT}/tmp/usr/bin/bash ]] \
                || (bootstrap_bash) || return 1
        type -P bzip2 > /dev/null || (bootstrap_bzip2) || return 1

Reply via email to