Commit ea27d6e9 authored by tbultel's avatar tbultel Committed by Peter Korsgaard
Browse files

Makefile: Fix the generation of locales



The -s option is only mandatory for the charmap,
else the filename is always empty and nothing
is generated.

Signed-off-by: default avatarThierry Bultel <thierry.bultel@wanadoo.fr>
Acked-by: default avatarArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent b35acfff
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -554,7 +554,7 @@ ifneq ($(GENERATE_LOCALE),)
target-generatelocales: host-localedef
	$(Q)mkdir -p $(TARGET_DIR)/usr/lib/locale/
	$(Q)for locale in $(GENERATE_LOCALE) ; do \
		inputfile=`echo $${locale} | cut -f1 -d'.' -s` ; \
		inputfile=`echo $${locale} | cut -f1 -d'.'` ; \
		charmap=`echo $${locale} | cut -f2 -d'.' -s` ; \
		if test -z "$${charmap}" ; then \
			charmap="UTF-8" ; \