summaryrefslogtreecommitdiff
path: root/admin/charsets/mapconv
diff options
context:
space:
mode:
Diffstat (limited to 'admin/charsets/mapconv')
-rwxr-xr-xadmin/charsets/mapconv3
1 files changed, 2 insertions, 1 deletions
diff --git a/admin/charsets/mapconv b/admin/charsets/mapconv
index ba012ddf4b7..91d580e89d1 100755
--- a/admin/charsets/mapconv
+++ b/admin/charsets/mapconv
@@ -38,7 +38,8 @@
## 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
+LC_ALL=C
+export LC_ALL
BASE=`expr "$1" : '.*/\(.*\)' '|' "$1"` # basename
FILE="admin/charsets/mapfiles/$BASE"