diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-10-21 12:50:07 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-10-31 09:09:16 +0000 |
commit | 2a931d5e4ac092ce275f3a51e22b802689f511e6 (patch) | |
tree | 0bd634e45f4eed406eee61b9f5c090ebd3c5f00d /AUTHORS | |
parent | d57c4718a3a1eb7b8397085c307fcb0bec6454ef (diff) | |
download | bitbake-2a931d5e4ac092ce275f3a51e22b802689f511e6.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 'AUTHORS')
0 files changed, 0 insertions, 0 deletions