gcc_update: Sets the locale to C.

2010-04-22  Basile Starynkevitch  <basile@starynkevitch.net>

	* gcc_update: Sets the locale to C.

From-SVN: r158629
This commit is contained in:
Basile Starynkevitch 2010-04-22 06:15:07 +00:00 committed by Basile Starynkevitch
parent 1cdb7d1612
commit c334c130bd
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2010-04-22 Basile Starynkevitch <basile@starynkevitch.net>
* gcc_update: Sets the locale to C.
2010-04-06 Joseph Myers <joseph@codesourcery.com>
* gennews (files): Add files for GCC 4.5.

View File

@ -43,6 +43,12 @@ GCC_SVN=${GCC_SVN-${SVN-svn}}
# Default options used when updating via SVN (none).
UPDATE_OPTIONS=""
# Set the locale to C to make this script work for users with foreign
# locale like e.g. French UTF-8.
LANG=C
LC_ALL=C
export LANG LC_ALL
######## Anything below shouldn't be changed by regular users.
# Arrange for the value of $0 to be available for functions