From dd9fad50f53dfaa3b5c24c2ab01070928bc5e691 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Mon, 1 Nov 2010 16:59:39 +0100 Subject: 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 --git a/scripts/crosstool-NG.sh.in b/scripts/crosstool-NG.sh.in index 445f0f6..790fc91 100644 --- a/scripts/crosstool-NG.sh.in +++ b/scripts/crosstool-NG.sh.in @@ -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 -- cgit v0.10.2-6-g49f6