From 11a49d7fe2f17fba427a9cda21041d26c804dbf1 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Tue, 9 May 2006 17:20:38 +0000 Subject: glibc-packages.bbclass: make use ${libdir}/locale exits before trying to put stuff in it. Fixes i18n for non pregenerated locales --- packages/glibc/glibc-package.bbclass | 1 + 1 file changed, 1 insertion(+) (limited to 'packages/glibc') diff --git a/packages/glibc/glibc-package.bbclass b/packages/glibc/glibc-package.bbclass index d6decfb709..2b0a63af90 100644 --- a/packages/glibc/glibc-package.bbclass +++ b/packages/glibc/glibc-package.bbclass @@ -95,6 +95,7 @@ if [ -f ${libdir}/locale/locale-archive ]; then cp ${libdir}/locale/locale-archive ${TMP_LOCALE}/ fi localedef --inputfile=${datadir}/i18n/locales/%s --charmap=%s --prefix=/tmp/locale %s +mkdir -p ${libdir}/locale/ mv ${TMP_LOCALE}/locale-archive ${libdir}/locale/ rm -rf ${TMP_LOCALE} } -- cgit v1.2.3