aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>2005-05-26 14:57:24 +0000
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>2005-05-26 14:57:24 +0000
commit804b3f593394569425a92e1dff5371494686131c (patch)
tree04474e6d5705d20dd91a4358b905e3ff2132b3d8
parentb651f051d6451fe1920f5c75325460a8271b5618 (diff)
downloadbitbake-804b3f593394569425a92e1dff5371494686131c.tar.gz
catch parse error in parseConfigurationFile()
-rwxr-xr-xbin/bitbake2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/bitbake b/bin/bitbake
index 970cac281..4adb6d740 100755
--- a/bin/bitbake
+++ b/bin/bitbake
@@ -595,6 +595,8 @@ class BBCooker:
make.cfg = bb.parse.handle( afile, make.cfg )
except IOError:
bb.fatal( "Unable to open %s" % afile )
+ except bb.parse.ParseError:
+ bb.fatal( "Unable to parse %s" % afile )
def handleCollections( self, collections ):
"""Handle collections"""