diff options
author | Benda Xu <heroxbd@gentoo.org> | 2017-09-10 14:34:18 +0900 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2017-09-10 14:36:33 +0900 |
commit | 8b80d2fa2d1cf77cd3ee1d31daa1017912fc596b (patch) | |
tree | 26fff80d6c63d328664e7574554cb9748af2f8e6 | |
parent | scripts/rsync-generation: git clean before git pull to cleanup untracked files (diff) | |
download | prefix-8b80d2fa.tar.gz prefix-8b80d2fa.tar.bz2 prefix-8b80d2fa.zip |
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.
-rwxr-xr-x | scripts/bootstrap-prefix.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |