diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-11-01 16:59:39 +0100 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-11-01 16:59:39 +0100 |
commit | dd9fad50f53dfaa3b5c24c2ab01070928bc5e691 (patch) | |
tree | faae80d9ead0a25165feca2b78709dea82af1fd2 | |
parent | 1c9199ee6c611d8ca7038aaa6a9e823e903b5a7d (diff) | |
download | crosstool-ng-dd9fad50f53dfaa3b5c24c2ab01070928bc5e691.tar.gz crosstool-ng-dd9fad50f53dfaa3b5c24c2ab01070928bc5e691.tar.bz2 crosstool-ng-dd9fad50f53dfaa3b5c24c2ab01070928bc5e691.zip |
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>
-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 445f0f6e..790fc91d 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 |