1 |
commit: 97eaacb8d639bf71d1fa54ff562ec9dcb9060380 |
2 |
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 26 07:08:40 2016 +0000 |
4 |
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 26 13:55:26 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=97eaacb8 |
7 |
|
8 |
scripts/bootstrap-prefix.sh: match bison 3 and above in stage1. |
9 |
|
10 |
scripts/bootstrap-prefix.sh | 2 +- |
11 |
1 file changed, 1 insertion(+), 1 deletion(-) |
12 |
|
13 |
diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh |
14 |
index 228bf90..e5ad6b6 100755 |
15 |
--- a/scripts/bootstrap-prefix.sh |
16 |
+++ b/scripts/bootstrap-prefix.sh |
17 |
@@ -1016,7 +1016,7 @@ bootstrap_stage1() { ( |
18 |
[[ ${OFFLINE_MODE} ]] || type -P wget > /dev/null || (bootstrap_wget) || return 1 |
19 |
[[ $(sed --version 2>&1) == *GNU* ]] || (bootstrap_sed) || return 1 |
20 |
[[ $(m4 --version 2>&1) == *GNU*1.4.1?* ]] || (bootstrap_m4) || return 1 |
21 |
- [[ $(bison --version 2>&1) == *"(GNU Bison) 2."[345678]* ]] \ |
22 |
+ [[ $(bison --version 2>&1) =~ GNU" "Bison") "(2.[3-7]|[3-9]) ]] \ |
23 |
|| [[ -x ${ROOT}/tmp/usr/bin/bison ]] \ |
24 |
|| (bootstrap_bison) || return 1 |
25 |
[[ $(uniq --version 2>&1) == *"(GNU coreutils) "[6789]* ]] \ |