]> code.ossystems Code Review - openembedded-core.git/commitdiff
packaged-staging.bbclass: Fix variable name typo
authorRichard Purdie <richard@openedhand.com>
Wed, 30 Apr 2008 15:16:45 +0000 (15:16 +0000)
committerRichard Purdie <richard@openedhand.com>
Wed, 30 Apr 2008 15:16:45 +0000 (15:16 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4375 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/classes/packaged-staging.bbclass

index efc9aa6ce8531f5bc4432c5b37635e92040a2dcd..2223ea18d1be30f9627aa26529358ffed2c29d79 100644 (file)
@@ -114,7 +114,7 @@ def pstage_cleanpackage(pkgname, d):
        if ret == 0:
                bb.note("Yes. Uninstalling package from staging...")
                removecmd = bb.data.getVar("PSTAGE_REMOVE_CMD", d, 1)
-               ret = os.system("PATH=\"%s\" %s %s" % (path, removecmd, removepkg))
+               ret = os.system("PATH=\"%s\" %s %s" % (path, removecmd, pkgname))
                if ret != 0:
                        bb.note("Failure removing staging package")
        else: