From 065dab7480ea0fae66db4b5a01d09814b1f38e03 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sat, 3 Mar 2012 11:21:22 +0000 Subject: meta: Replace bb.data.expand(xxx, d) -> d.expand(xxx) sed \ -e 's:bb.data.\(expand([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data.expand *` Signed-off-by: Richard Purdie --- meta/recipes-qt/qt-apps/qmmp_0.5.2.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta/recipes-qt/qt-apps') diff --git a/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb b/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb index 469351ce50..df18f91c90 100644 --- a/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb +++ b/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb @@ -31,8 +31,8 @@ PACKAGES_DYNAMIC = "qmmp-plugin-* " python populate_packages_prepend () { import os - qmmp_libdir = bb.data.expand('${libdir}/qmmp', d) - gd = bb.data.expand('${D}/${libdir}/qmmp', d) + qmmp_libdir = d.expand('${libdir}/qmmp') + gd = d.expand('${D}/${libdir}/qmmp') plug_dirs = os.listdir(gd) for plug_dir in plug_dirs: -- cgit 1.2.3-korg