summary refs log tree commit diff
path: root/localedata/sort-test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'localedata/sort-test.sh')
-rw-r--r--localedata/sort-test.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/localedata/sort-test.sh b/localedata/sort-test.sh
index 46ed5f0df6..17fb2622f0 100644
--- a/localedata/sort-test.sh
+++ b/localedata/sort-test.sh
@@ -32,7 +32,8 @@ here=`pwd`
 status=0
 for l in $lang; do
   here=0
-  cns=`echo $l | sed 's/\(.*\)[.][^.]*/\1/'`
+  # Locale name matches test filename (without in).
+  cns=$l
   ${test_program_prefix_before_env} \
    ${run_program_env} \
    LC_ALL=$l ${test_program_prefix_after_env} \