summaryrefslogtreecommitdiff
path: root/classes/gtk-icon-cache.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/gtk-icon-cache.bbclass')
-rw-r--r--classes/gtk-icon-cache.bbclass3
1 files changed, 1 insertions, 2 deletions
diff --git a/classes/gtk-icon-cache.bbclass b/classes/gtk-icon-cache.bbclass
index ce78d1f7c9..d6c86a383e 100644
--- a/classes/gtk-icon-cache.bbclass
+++ b/classes/gtk-icon-cache.bbclass
@@ -30,10 +30,9 @@ python populate_packages_append () {
import os.path
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:
- icon_dir = '%s/%s/%s/%s/icons' % (workdir, pkgdest, pkg, bb.data.getVar('datadir', d, 1))
+ icon_dir = '%s/%s/%s/icons' % (pkgdest, pkg, bb.data.getVar('datadir', d, 1))
if not os.path.exists(icon_dir):
continue