]> code.ossystems Code Review - openembedded-core.git/commitdiff
package_ipk.bbclass: Simplify variable expansion
authorRichard Purdie <richard@openedhand.com>
Fri, 10 Oct 2008 11:24:33 +0000 (11:24 +0000)
committerRichard Purdie <richard@openedhand.com>
Fri, 10 Oct 2008 11:24:33 +0000 (11:24 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5476 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/classes/package_ipk.bbclass

index 3db863757066aa52ef086a8a438d0ed2b0b1e7f3..c4f53046f5d2b870f8c2e3cc2f1a62f37c9835fa 100644 (file)
@@ -166,10 +166,9 @@ python do_package_ipk () {
                        pkgname = pkg
                bb.data.setVar('PKG', pkgname, localdata)
 
-               overrides = bb.data.getVar('OVERRIDES', localdata)
+               overrides = bb.data.getVar('OVERRIDES', localdata, True)
                if not overrides:
                        raise bb.build.FuncFailed('OVERRIDES not defined')
-               overrides = bb.data.expand(overrides, localdata)
                bb.data.setVar('OVERRIDES', overrides + ':' + pkg, localdata)
 
                bb.data.update_data(localdata)