diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-11-01 15:59:39 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-11-01 15:59:39 (GMT) |
commit | dd9fad50f53dfaa3b5c24c2ab01070928bc5e691 (patch) | |
tree | faae80d9ead0a25165feca2b78709dea82af1fd2 /scripts/crosstool-NG.sh.in | |
parent | 1c9199ee6c611d8ca7038aaa6a9e823e903b5a7d (diff) |
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>
Diffstat (limited to 'scripts/crosstool-NG.sh.in')
-rw-r--r-- | scripts/crosstool-NG.sh.in | 5 |
1 files changed, 4 insertions, 1 deletions
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 |