summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/cookerdata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cookerdata.py b/bitbake/lib/bb/cookerdata.py
index fe5696c704..efa671aa07 100644
--- a/bitbake/lib/bb/cookerdata.py
+++ b/bitbake/lib/bb/cookerdata.py
@@ -435,7 +435,7 @@ class CookerDataBuilder(object):
435 msg += (" and bitbake did not find a conf/bblayers.conf file in" 435 msg += (" and bitbake did not find a conf/bblayers.conf file in"
436 " the expected location.\nMaybe you accidentally" 436 " the expected location.\nMaybe you accidentally"
437 " invoked bitbake from the wrong directory?") 437 " invoked bitbake from the wrong directory?")
438 raise SystemExit(msg) 438 bb.fatal(msg)
439 439
440 if not data.getVar("TOPDIR"): 440 if not data.getVar("TOPDIR"):
441 data.setVar("TOPDIR", os.path.abspath(os.getcwd())) 441 data.setVar("TOPDIR", os.path.abspath(os.getcwd()))