From ea27d6e929414e7af438836f3dde49076b1aa316 Mon Sep 17 00:00:00 2001 From: tbultel Date: Fri, 20 Sep 2013 10:35:46 +0200 Subject: [PATCH] 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: Thierry Bultel Acked-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Peter Korsgaard --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6ef0edc2bb..71d94ad8c9 100644 --- a/Makefile +++ b/Makefile @@ -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" ; \ -- 2.30.2