aboutsummaryrefslogtreecommitdiff
path: root/contrib/gcc_update
diff options
context:
space:
mode:
authorBasile Starynkevitch <basile@starynkevitch.net>2010-04-22 06:15:07 +0000
committerBasile Starynkevitch <bstarynk@gcc.gnu.org>2010-04-22 06:15:07 +0000
commitc334c130bd67d51f03327e14a05ca4ba6b38be20 (patch)
tree3c8777ade018adbd0177154887a44b9e436ff900 /contrib/gcc_update
parent1cdb7d161253523b2d3d10120f6d2cf0fe5d95c6 (diff)
downloadgcc-c334c130bd67d51f03327e14a05ca4ba6b38be20.zip
gcc-c334c130bd67d51f03327e14a05ca4ba6b38be20.tar.gz
gcc-c334c130bd67d51f03327e14a05ca4ba6b38be20.tar.bz2
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
Diffstat (limited to 'contrib/gcc_update')
-rwxr-xr-xcontrib/gcc_update6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/gcc_update b/contrib/gcc_update
index 3e5a842..37e65af 100755
--- a/contrib/gcc_update
+++ b/contrib/gcc_update
@@ -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