summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2015-05-22 19:15:55 -0400
committerGlenn Morris <rgm@gnu.org>2015-05-22 19:15:55 -0400
commitfa560755d533889bd95dc7475937f93dc58e9191 (patch)
treef6e49c1cff35e6c073a00805ffc9fae1d005ca70 /admin
parent50ecfcd6488f596035e8dc8203cfec3e40508c89 (diff)
downloademacs-fa560755d533889bd95dc7475937f93dc58e9191.tar.gz
* admin/charsets/mapconv (LC_ALL): Set to C.
Diffstat (limited to 'admin')
-rwxr-xr-xadmin/charsets/mapconv5
1 files changed, 5 insertions, 0 deletions
diff --git a/admin/charsets/mapconv b/admin/charsets/mapconv
index 6fd13c61c4a..245dce114a0 100755
--- a/admin/charsets/mapconv
+++ b/admin/charsets/mapconv
@@ -35,6 +35,11 @@
# GLIBC-1 GLIBC-2 GLIBC-2-7 CZYBORRA IANA UNICODE UNICODE2 YASUOKA
# $4: awk script
+## So that eg [A-F] as used by KANJI-DATABASE branch below works as expected.
+## Otherwise with LANG=en_US.utf8, CNS-6.map was generated with a
+## bogus entry. By experiment, LC_COLLATE=C was not enough.
+export LC_ALL=C
+
BASE=`expr "$1" : '.*/\(.*\)' '|' "$1"` # basename
FILE="admin/charsets/mapfiles/$BASE"
BASE=`expr "$BASE" : '\(.*\)\.gz$' '|' "$BASE"` # remove any .gz suffix