commit: a3761848e8af2c52171b485383a6f8f1e0323b47 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> AuthorDate: Sat Jan 6 15:21:59 2018 +0000 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> CommitDate: Sat Jan 6 15:21:59 2018 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=a3761848
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 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 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
