about summary refs log tree commit diff
path: root/localedata/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'localedata/Makefile')
-rw-r--r--localedata/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/localedata/Makefile b/localedata/Makefile
index 6784982ecf..5bb4702beb 100644
--- a/localedata/Makefile
+++ b/localedata/Makefile
@@ -89,7 +89,8 @@ LOCALEDEF=$(common-objpfx)elf/ld.so --library-path $(rpath-link) $(common-objpfx
 install-locales:
 	while read locale charset; do \
 	   case $$locale in \#*) continue;; esac; \
-	   $(LOCALEDEF) -c -i locales/$$locale -f charmaps/$$charset \
+	   $(LOCALEDEF) -i locales/`echo $$locale | sed 's/\([^.]*\).*/\1/'` \
+			-c -f charmaps/$$charset \
 			-u repertoiremaps/mnemonic.ds \
 			$(inst_localedir)/$$locale; \
 	done < SUPPORTED