summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2006-05-09 17:20:38 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-05-09 17:20:38 +0000
commit11a49d7fe2f17fba427a9cda21041d26c804dbf1 (patch)
tree345db6c3b6d7d808dafe65153f1e969aa299ee21 /packages
parent016bfd89a5640e0f627bc95b4f6df7dfc55890fe (diff)
glibc-packages.bbclass: make use ${libdir}/locale exits before trying to put stuff in it. Fixes i18n for non pregenerated locales
Diffstat (limited to 'packages')
-rw-r--r--packages/glibc/glibc-package.bbclass1
1 files changed, 1 insertions, 0 deletions
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}
}