summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbitbake/bin/bitbake5
1 files changed, 4 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index 533886842..821213068 100755
--- a/bitbake/bin/bitbake
+++ b/bitbake/bin/bitbake
@@ -30,7 +30,10 @@ sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)),
import optparse
import warnings
from traceback import format_exception
-import bb
+try:
+ import bb
+except RuntimeError, exc:
+ sys.exit(str(exc))
from bb import event
import bb.msg
from bb import cooker