summaryrefslogtreecommitdiff
path: root/classes/mime.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-16 10:21:30 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-16 10:21:30 +0000
commitd762c7504032becb9d05cd48c86dabb1ec764911 (patch)
tree8abe172395656fbede9fe1ce4dcd0eebb3de501a /classes/mime.bbclass
parent5f13a271b010da627fc8b411182fbc58c03aec23 (diff)
gconf/gtk-icon-theme/mime: Really fix PKGDEST references
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'classes/mime.bbclass')
-rw-r--r--classes/mime.bbclass3
1 files changed, 1 insertions, 2 deletions
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):