diff options
author | Holger Freyther <zecke@selfish.org> | 2008-01-21 21:39:34 +0000 |
---|---|---|
committer | Holger Freyther <zecke@selfish.org> | 2008-01-21 21:39:34 +0000 |
commit | 5bd832ff07a62f1c152b71a8e11b7553b336185a (patch) | |
tree | c1bb92001021c8149fb90db1a2812b3d1aa787cd /packages/qt4 | |
parent | ed863b9fbb77461e29c5d9edaf861ab820bd8eaa (diff) |
packages/qt4/qt_packaging.inc: Fix the splitting of the translation packages
The variable inside the package name did not get expanded, let us expand
it ourselves.
Diffstat (limited to 'packages/qt4')
-rw-r--r-- | packages/qt4/qt_packaging.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/qt4/qt_packaging.inc b/packages/qt4/qt_packaging.inc index 63d314c6c5..ca5e93be34 100644 --- a/packages/qt4/qt_packaging.inc +++ b/packages/qt4/qt_packaging.inc @@ -133,8 +133,9 @@ FILES_${QT_BASE_NAME}-demos = "${bindir}/qtdemo ${bindir}/${QT_DI FILES_${QT_BASE_NAME}-fonts = "${libdir}/fonts" python populate_packages_prepend() { - translationdir = bb.data.expand('${datadir}/${QT_DIR_NAME}/translations/', d) - do_split_packages(d, translationdir, '^qt_(.*)\.qm$', '${QT_DIR_NAME}-translation-%s', '{PN} translation for %s', extra_depends='' ) + translation_dir = bb.data.expand('${datadir}/${QT_DIR_NAME}/translations/', d) + translation_name = bb.data.expand('${QT_DIR_NAME}-translation-%s', d) + do_split_packages(d, translation_dir, '^qt_(.*)\.qm$', translation_name, '{PN} translation for %s', extra_depends='' ) } |