mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 04:47:52 +00:00
configure: force using the C locale to check messages
This commit is contained in:
parent
8d0062fabc
commit
4d8c26fe11
5
configure
vendored
5
configure
vendored
@ -130,7 +130,10 @@ check_for() {
|
||||
printf "no\n"
|
||||
continue
|
||||
elif [ -n "${ver}" ]; then
|
||||
str=$( "${where}" --version 2>&1 |grep -E "${ver}" |head -n 1 )
|
||||
str=$( LC_ALL=C "${where}" --version 2>&1 \
|
||||
|grep -E "${ver}" \
|
||||
|head -n 1
|
||||
)
|
||||
if [ -z "${str}" ]; then
|
||||
printf "no\n"
|
||||
unset where
|
||||
|
Loading…
Reference in New Issue
Block a user