mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-24 15:06:42 +00:00
configure: force using the C locale to check messages
(transplanted from 2f44fac6b5143f7b14f5367209c9df9b1102298e)
This commit is contained in:
parent
61fdb0e510
commit
e9f935be04
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