1 |
commit: eac65b0b4e1fb7fa67e1b3d3008fbc308edc9b06 |
2 |
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 8 07:31:47 2018 +0000 |
4 |
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 8 07:52:23 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=eac65b0b |
7 |
|
8 |
scripts/bootstrap-prefix.sh: require GNU Awk 4. |
9 |
|
10 |
GNU Awk 3 does not switch on --non-decimal-data by default. |
11 |
|
12 |
scripts/bootstrap-prefix.sh | 2 +- |
13 |
1 file changed, 1 insertion(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh |
16 |
index f64409e89e..f475083486 100755 |
17 |
--- a/scripts/bootstrap-prefix.sh |
18 |
+++ b/scripts/bootstrap-prefix.sh |
19 |
@@ -1190,7 +1190,7 @@ bootstrap_stage1() { |
20 |
[[ $(tar --version 2>&1) == *GNU* ]] || (bootstrap_tar) || return 1 |
21 |
[[ $(patch --version 2>&1) == *"patch 2."[6-9]*GNU* ]] || (bootstrap_patch) || return 1 |
22 |
[[ $(grep --version 2>&1) == *GNU* ]] || (bootstrap_grep) || return 1 |
23 |
- [[ $(awk --version < /dev/null 2>&1) == *GNU* ]] || bootstrap_gawk || return 1 |
24 |
+ [[ $(awk --version < /dev/null 2>&1) == *GNU" Awk "[456789]* ]] || bootstrap_gawk || return 1 |
25 |
[[ $(LANG=C bash --version 2>&1) == "GNU bash, version 4."[23456789]* && ${CHOST} != *-aix* ]] \ |
26 |
|| [[ -x ${ROOT}/tmp/usr/bin/bash ]] \ |
27 |
|| (bootstrap_bash) || return 1 |