commit: 97eaacb8d639bf71d1fa54ff562ec9dcb9060380
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Thu May 26 07:08:40 2016 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Thu May 26 13:55:26 2016 +0000
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=97eaacb8
scripts/bootstrap-prefix.sh: match bison 3 and above in stage1.
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 228bf90..e5ad6b6 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -1016,7 +1016,7 @@ bootstrap_stage1() { (
[[ ${OFFLINE_MODE} ]] || type -P wget > /dev/null || (bootstrap_wget)
|| return 1
[[ $(sed --version 2>&1) == *GNU* ]] || (bootstrap_sed) || return 1
[[ $(m4 --version 2>&1) == *GNU*1.4.1?* ]] || (bootstrap_m4) || return 1
- [[ $(bison --version 2>&1) == *"(GNU Bison) 2."[345678]* ]] \
+ [[ $(bison --version 2>&1) =~ GNU" "Bison") "(2.[3-7]|[3-9]) ]] \
|| [[ -x ${ROOT}/tmp/usr/bin/bison ]] \
|| (bootstrap_bison) || return 1
[[ $(uniq --version 2>&1) == *"(GNU coreutils) "[6789]* ]] \