# HG changeset patch # User "Yann E. MORIN" # Date 1288627179 -3600 # Node ID c2541d3f2f56d732d01e29bf6d52f9680e102afe # Parent 4f8aa694f9c0e39fddf47f2ba429b88942f81aa1 scripts: also overide LANG On some systems, we also need to overide LANG as well as LC_ALL. Reported-by: Geoffrey Lee Signed-off-by: "Yann E. MORIN" diff -r 4f8aa694f9c0 -r c2541d3f2f56 scripts/crosstool-NG.sh.in --- a/scripts/crosstool-NG.sh.in Mon Nov 01 01:12:39 2010 +0100 +++ b/scripts/crosstool-NG.sh.in Mon Nov 01 16:59:39 2010 +0100 @@ -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