summaryrefslogtreecommitdiff
path: root/classes/mime.bbclass
diff options
context:
space:
mode:
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):