diff options
author | 2018-01-06 16:21:59 +0100 | |
---|---|---|
committer | 2018-01-06 16:21:59 +0100 | |
commit | a3761848e8af2c52171b485383a6f8f1e0323b47 (patch) | |
tree | 3205d0bc19122cbd6de34007a53ca654014bd0fd /scripts | |
parent | scripts/bootstrap-prefix: have bootstrap_make install gmake symlink (diff) | |
download | prefix-a3761848e8af2c52171b485383a6f8f1e0323b47.tar.gz prefix-a3761848e8af2c52171b485383a6f8f1e0323b47.tar.bz2 prefix-a3761848e8af2c52171b485383a6f8f1e0323b47.zip |
scripts/bootstrap-prefix: run bash check under LANG=C, bug #642678
At least in German locales, words like version are capitalised.
Closes: https://bugs.gentoo.org/642678
Diffstat (limited to 'scripts')
-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 dbce4d4256..88f7dbcd1f 100755 --- a/scripts/bootstrap-prefix.sh +++ b/scripts/bootstrap-prefix.sh @@ -1196,7 +1196,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."[23456789]* && ${CHOST} != *-aix* ]] \ + [[ $(LANG=C 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 |