From d762c7504032becb9d05cd48c86dabb1ec764911 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 16 Nov 2009 10:21:30 +0000 Subject: gconf/gtk-icon-theme/mime: Really fix PKGDEST references Signed-off-by: Richard Purdie --- classes/mime.bbclass | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'classes/mime.bbclass') diff --git a/classes/mime.bbclass b/classes/mime.bbclass index afba5e79a7..2416c1466f 100644 --- a/classes/mime.bbclass +++ b/classes/mime.bbclass @@ -28,10 +28,9 @@ python populate_packages_append () { import os.path, re packages = bb.data.getVar('PACKAGES', d, 1).split() pkgdest = bb.data.getVar('PKGDEST', d, 1) - workdir = bb.data.getVar('WORKDIR', d, 1) for pkg in packages: - mime_dir = '%s/%s/%s/usr/share/mime/packages' % (workdir, pkgdest, pkg) + mime_dir = '%s/%s/usr/share/mime/packages' % (pkgdest, pkg) mimes = [] mime_re = re.compile(".*\.xml$") if os.path.exists(mime_dir): -- cgit v1.2.3