summaryrefslogtreecommitdiffstats
path: root/lib/bb/shell.py
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2008-12-06 13:04:01 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2008-12-06 13:04:01 +0000
commiteeca44bb6767e852c129bf61c4cfd776537ec19b (patch)
tree955c2f1414863750e672054d5f48d830aae6e7fa /lib/bb/shell.py
parent9f5dbcce6fd49383821d5f36fb88d35ddabc613f (diff)
downloadbitbake-eeca44bb6767e852c129bf61c4cfd776537ec19b.tar.gz
shell.py: Catch up with core changes
Diffstat (limited to 'lib/bb/shell.py')
-rw-r--r--lib/bb/shell.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/bb/shell.py b/lib/bb/shell.py
index b825d9fde..55bae25d4 100644
--- a/lib/bb/shell.py
+++ b/lib/bb/shell.py
@@ -151,9 +151,6 @@ class BitBakeShellCommands:
if len( names ) == 0: names = [ globexpr ]
print "SHELL: Building %s" % ' '.join( names )
- oldcmd = cooker.configuration.cmd
- cooker.configuration.cmd = cmd
-
td = taskdata.TaskData(cooker.configuration.abort)
localdata = data.createCopy(cooker.configuration.data)
data.update_data(localdata)
@@ -168,7 +165,7 @@ class BitBakeShellCommands:
if len(providers) == 0:
raise Providers.NoProvider
- tasks.append([name, "do_%s" % cooker.configuration.cmd])
+ tasks.append([name, "do_%s" % cmd])
td.add_unresolved(localdata, cooker.status)
@@ -189,7 +186,6 @@ class BitBakeShellCommands:
print "ERROR: Couldn't build '%s'" % names
last_exception = e
- cooker.configuration.cmd = oldcmd
build.usage = "<providee>"