summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 8a354fed7c..3555585c84 100644
--- a/bitbake/lib/bb/cookerdata.py
+++ b/bitbake/lib/bb/cookerdata.py
@@ -436,7 +436,7 @@ class CookerDataBuilder(object):
436 msg += (" and bitbake did not find a conf/bblayers.conf file in" 436 msg += (" and bitbake did not find a conf/bblayers.conf file in"
437 " the expected location.\nMaybe you accidentally" 437 " the expected location.\nMaybe you accidentally"
438 " invoked bitbake from the wrong directory?") 438 " invoked bitbake from the wrong directory?")
439 raise SystemExit(msg) 439 bb.fatal(msg)
440 440
441 if not data.getVar("TOPDIR"): 441 if not data.getVar("TOPDIR"):
442 data.setVar("TOPDIR", os.path.abspath(os.getcwd())) 442 data.setVar("TOPDIR", os.path.abspath(os.getcwd()))