]> code.ossystems Code Review - openembedded-core.git/commitdiff
build.py: Fix task override handling (breaks compatibility but it didn't work at...
authorRichard Purdie <richard@openedhand.com>
Wed, 21 May 2008 21:20:44 +0000 (21:20 +0000)
committerRichard Purdie <richard@openedhand.com>
Wed, 21 May 2008 21:20:44 +0000 (21:20 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4530 311d38ba-8fff-0310-9ca6-ca027cbcb966

bitbake/lib/bb/build.py

index b4efd269fd36e36abebe71f473be1ed90dcfc573..7644bf0ee7ae9995a86cc463d480547e22b05d1e 100644 (file)
@@ -271,7 +271,7 @@ def exec_task(task, d):
         bb.msg.debug(1, bb.msg.domain.Build, "Executing task %s" % task)
         old_overrides = data.getVar('OVERRIDES', d, 0)
         localdata = data.createCopy(d)
-        data.setVar('OVERRIDES', 'task_%s:%s' % (task, old_overrides), localdata)
+        data.setVar('OVERRIDES', 'task-%s:%s' % (task[3:], old_overrides), localdata)
         data.update_data(localdata)
         data.expandKeys(localdata)
         event.fire(TaskStarted(task, localdata))