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:
Yann E. MORIN" 2010-11-01 16:59:39 +01:00
parent 1c9199ee6c
commit dd9fad50f5

View File

@ -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