diff options
Diffstat (limited to 'meta/classes/gtk-icon-cache.bbclass')
-rw-r--r-- | meta/classes/gtk-icon-cache.bbclass | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes/gtk-icon-cache.bbclass b/meta/classes/gtk-icon-cache.bbclass index d1aeee5f89..524c2f0c46 100644 --- a/meta/classes/gtk-icon-cache.bbclass +++ b/meta/classes/gtk-icon-cache.bbclass | |||
@@ -29,10 +29,9 @@ done | |||
29 | python populate_packages_append () { | 29 | python populate_packages_append () { |
30 | packages = bb.data.getVar('PACKAGES', d, 1).split() | 30 | packages = bb.data.getVar('PACKAGES', d, 1).split() |
31 | pkgdest = bb.data.getVar('PKGDEST', d, 1) | 31 | pkgdest = bb.data.getVar('PKGDEST', d, 1) |
32 | workdir = bb.data.getVar('WORKDIR', d, 1) | ||
33 | 32 | ||
34 | for pkg in packages: | 33 | for pkg in packages: |
35 | icon_dir = '%s/%s/%s/%s/icons' % (workdir, pkgdest, pkg, bb.data.getVar('datadir', d, 1)) | 34 | icon_dir = '%s/%s/%s/icons' % (pkgdest, pkg, bb.data.getVar('datadir', d, 1)) |
36 | if not os.path.exists(icon_dir): | 35 | if not os.path.exists(icon_dir): |
37 | continue | 36 | continue |
38 | 37 | ||