mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-18 02:39:46 +00:00
Merge.
This commit is contained in:
commit
9b67193754
6
configure
vendored
6
configure
vendored
@ -121,6 +121,7 @@ check_for() {
|
||||
eval val="\${${var}}"
|
||||
if [ -n "${val}" ]; then
|
||||
printf "${val} (cached)\n"
|
||||
add_to_var_list "${var}"
|
||||
return 0
|
||||
fi
|
||||
fi
|
||||
@ -129,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