From e7e2009277b26913c9ac666fccef35bbd9e24f81 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 7 Nov 2008 09:42:16 +0000 Subject: bitbake-dev: Fix exit code value handling --- bitbake-dev/bin/bitbake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbake-dev/bin/bitbake b/bitbake-dev/bin/bitbake index 920877e4d8..87c3a94083 100755 --- a/bitbake-dev/bin/bitbake +++ b/bitbake-dev/bin/bitbake @@ -160,7 +160,7 @@ Default BBFILES are the .bb files in the current directory.""" ) # suggest a fixed set this allows you to have flexibility in which # ones are available. exec "from bb.ui import " + ui - exec ui + ".init(server, eventHandler)" + exec "return_value = " + ui + ".init(server, eventHandler)" except ImportError: print "FATAL: Invalid user interface '%s' specified. " % ui print "Valid interfaces are 'ncurses', 'depexp' or the default, 'knotty'." -- cgit v1.2.3