mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-30 16:14:09 +00:00
scripts: also overide LANG
On some systems, we also need to overide LANG as well as LC_ALL. Reported-by: Geoffrey Lee <geoffl@gmail.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
This commit is contained in:
parent
1c9199ee6c
commit
dd9fad50f5
@ -26,7 +26,10 @@
|
||||
# Yes! We can do full logging from now on!
|
||||
|
||||
# Overide the locale early, in case we ever translate crosstool-NG messages
|
||||
[ -z "${CT_NO_OVERIDE_LC_MESSAGES}" ] && export LC_ALL=C
|
||||
if [ -z "${CT_NO_OVERIDE_LC_MESSAGES}" ]; then
|
||||
export LC_ALL=C
|
||||
export LANG=C
|
||||
fi
|
||||
|
||||
# remove . from PATH since it can cause gcc build failures
|
||||
CT_SanitizePath
|
||||
|
Loading…
x
Reference in New Issue
Block a user