cups: fix do_package, do_stage is still broken
authorKoen Kooi <koen@openembedded.org>
Wed, 11 Nov 2009 07:42:35 +0000 (08:42 +0100)
committerKoen Kooi <koen@openembedded.org>
Wed, 11 Nov 2009 07:42:35 +0000 (08:42 +0100)
recipes/cups/cups.inc

index 006e6a3..642595d 100644 (file)
@@ -61,8 +61,8 @@ do_stage () {
 
 python do_package_append() {
        # Change permissions back the way they were, they probably had a reason...
-       workdir = bb.data.getVar('WORKDIR', d, 1)
-       os.system('chmod 0511 %s/install/cups/var/run/cups/certs' % workdir)
+       pkgdest = bb.data.getVar('PKGDEST', d, 1)
+       os.system('chmod 0511 %s/cups/var/run/cups/certs' % pkgdest)
 }
 
 do_stage_append() {