aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/shell.py
diff options
context:
space:
mode:
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>2005-07-07 10:23:59 +0000
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>2005-07-07 10:23:59 +0000
commit88f19217cb650c6b89cd098adf5b5b0889915efb (patch)
treef1a0fd97d3faf1b18e4fafe540af24081fb7628f /lib/bb/shell.py
parentc2cb41dc49aee4d6905519ec74c34e957a633b8d (diff)
downloadbitbake-88f19217cb650c6b89cd098adf5b5b0889915efb.tar.gz
Shell:
- remove '...' in output for "SHELL: Building <a number of providees>" - don't continue if building a number of providees and one fails
Diffstat (limited to 'lib/bb/shell.py')
-rw-r--r--lib/bb/shell.py16
1 files changed, 10 insertions, 6 deletions
diff --git a/lib/bb/shell.py b/lib/bb/shell.py
index f9b06e341..97e61e116 100644
--- a/lib/bb/shell.py
+++ b/lib/bb/shell.py
@@ -142,20 +142,24 @@ class BitBakeShellCommands:
self._checkParsed()
names = globfilter( cooker.status.pkg_pn.keys(), globexpr )
if len( names ) == 0: names = [ globexpr ]
- print "SHELL: Building %s..." % ' '.join( names )
+ print "SHELL: Building %s" % ' '.join( names )
+
+ oldcmd = cooker.configuration.cmd
+ cooker.configuration.cmd = cmd
+ cooker.build_cache = []
+ cooker.build_cache_fail = []
for name in names:
- oldcmd = cooker.configuration.cmd
- cooker.configuration.cmd = cmd
- cooker.build_cache = []
- cooker.build_cache_fail = []
try:
cooker.buildProvider( name )
except build.EventException, e:
print "ERROR: Couldn't build '%s'" % name
global last_exception
last_exception = e
- cooker.configuration.cmd = oldcmd
+ break
+
+ cooker.configuration.cmd = oldcmd
+
build.usage = "<providee>"
def clean( self, params ):