1 |
commit: a3761848e8af2c52171b485383a6f8f1e0323b47 |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 6 15:21:59 2018 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 6 15:21:59 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=a3761848 |
7 |
|
8 |
scripts/bootstrap-prefix: run bash check under LANG=C, bug #642678 |
9 |
|
10 |
At least in German locales, words like version are capitalised. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/642678 |
13 |
|
14 |
scripts/bootstrap-prefix.sh | 2 +- |
15 |
1 file changed, 1 insertion(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh |
18 |
index dbce4d4256..88f7dbcd1f 100755 |
19 |
--- a/scripts/bootstrap-prefix.sh |
20 |
+++ b/scripts/bootstrap-prefix.sh |
21 |
@@ -1196,7 +1196,7 @@ bootstrap_stage1() { |
22 |
[[ $(patch --version 2>&1) == *"patch 2."[6-9]*GNU* ]] || (bootstrap_patch) || return 1 |
23 |
[[ $(grep --version 2>&1) == *GNU* ]] || (bootstrap_grep) || return 1 |
24 |
[[ $(awk --version < /dev/null 2>&1) == *GNU* ]] || bootstrap_gawk || return 1 |
25 |
- [[ $(bash --version 2>&1) == "GNU bash, version 4."[23456789]* && ${CHOST} != *-aix* ]] \ |
26 |
+ [[ $(LANG=C bash --version 2>&1) == "GNU bash, version 4."[23456789]* && ${CHOST} != *-aix* ]] \ |
27 |
|| [[ -x ${ROOT}/tmp/usr/bin/bash ]] \ |
28 |
|| (bootstrap_bash) || return 1 |
29 |
type -P bzip2 > /dev/null || (bootstrap_bzip2) || return 1 |