aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-10-21 12:50:07 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-10-31 09:09:07 +0000
commit562f9ee674a8b392437096422b9cceab9c3cba2e (patch)
treede81b9be5cd0db0fcb0512832c539cf439061524 /contrib
parentd02e90db32e7ee341c2ba3be79b0627d8796bdd6 (diff)
downloadbitbake-562f9ee674a8b392437096422b9cceab9c3cba2e.tar.gz
main: Give a user readable error if we can't locate topdir
Currently if you run bitbake in an invalid directory, the user experience is poor: birbake/lib/bb/main.py", line 427, in setup_bitbake topdir, lock = lockBitbake() File "./bitbake/lib/bb/main.py", line 494, in lockBitbake lockfile = topdir + "/bitbake.lock" TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' This ensures we exit straight away with a better error message. [YOCTO #12163] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions