]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
build.py: fix os.getcwd() exception
authorJuro Bystricky <juro.bystricky@intel.com>
Mon, 26 Sep 2016 20:53:13 +0000 (13:53 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 27 Sep 2016 12:24:55 +0000 (13:24 +0100)
commit4bcf77589312d9936340d8c308006c2fc9baf67c
tree15d85d35f0234f49bd5b6e11f3d7366b768fcdfd
parent326d18d96faf02675ba34ad3c3a20cd424b39b91
build.py: fix os.getcwd() exception

When trying to obtain the current directory from a directory
that does not exist anymore, an exception is raised.
This patch handles such exception.

[YOCTO #10331]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/build.py