aboutsummaryrefslogtreecommitdiff
path: root/localedata/gen-locale.sh
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-06-17 22:44:18 +0000
committerUlrich Drepper <drepper@redhat.com>2001-06-17 22:44:18 +0000
commit3076f3d1ff83bf46dd13fc4c4193336734ace3a5 (patch)
tree8847bd9c24b3af2b91e9768248e3a9840808b96f /localedata/gen-locale.sh
parentc28d0993eb9ee5cce23249e4a84d3ecd894650b9 (diff)
downloadglibc-3076f3d1ff83bf46dd13fc4c4193336734ace3a5.tar
glibc-3076f3d1ff83bf46dd13fc4c4193336734ace3a5.tar.gz
glibc-3076f3d1ff83bf46dd13fc4c4193336734ace3a5.tar.bz2
glibc-3076f3d1ff83bf46dd13fc4c4193336734ace3a5.zip
Update.
2001-05-26 Bruno Haible <haible@clisp.cons.org> * charmaps/SHIFT_JIS: Renamed from charmaps/SJIS. Change code_set_name to SHIFT_JIS. Add SJIS as alias. * Makefile (CHARMAPS): For SJIS locale, use SHIFT_JIS charmap. * gen-locale.sh: Likewise.
Diffstat (limited to 'localedata/gen-locale.sh')
-rw-r--r--localedata/gen-locale.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/localedata/gen-locale.sh b/localedata/gen-locale.sh
index 386665ca02..ee75c7fc57 100644
--- a/localedata/gen-locale.sh
+++ b/localedata/gen-locale.sh
@@ -1,6 +1,6 @@
#! /bin/sh
# Generate test locale files.
-# Copyright (C) 2000 Free Software Foundation, Inc.
+# Copyright (C) 2000-2001 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
#
# The GNU C Library is free software; you can redistribute it and/or
@@ -43,4 +43,5 @@ locale=`echo $locfile|sed 's|\([^.]*\)[.].*/LC_CTYPE|\1|'`
charmap=`echo $locfile|sed 's|[^.]*[.]\(.*\)/LC_CTYPE|\1|'`
echo "Generating locale $locale.$charmap: this might take a while..."
-generate_locale $charmap $locale $locale.$charmap
+generate_locale `echo $charmap | sed -e s/SJIS/SHIFT_JIS/` $locale \
+ $locale.$charmap