diff options
author | Koen Kooi <koen@openembedded.org> | 2006-05-09 17:20:38 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-05-09 17:20:38 +0000 |
commit | 11a49d7fe2f17fba427a9cda21041d26c804dbf1 (patch) | |
tree | 345db6c3b6d7d808dafe65153f1e969aa299ee21 | |
parent | 016bfd89a5640e0f627bc95b4f6df7dfc55890fe (diff) |
glibc-packages.bbclass: make use ${libdir}/locale exits before trying to put stuff in it. Fixes i18n for non pregenerated locales
-rw-r--r-- | packages/glibc/glibc-package.bbclass | 1 |
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} } |