bitbake: build.py: Provide useful diagnostics when exiting.
authorPeter Seebach <peter.seebach@windriver.com>
Wed, 10 Oct 2012 22:11:54 +0000 (17:11 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 20 Aug 2013 21:43:42 +0000 (22:43 +0100)
commitfbbb5419098c696327f59b86dbf97554d6e191be
tree6922a53db09be401d8c9db490b98eda3a5c11bb7
parentc9b368185b58b48dcf80644d2d7eb1af77cd9fe8
bitbake: build.py: Provide useful diagnostics when exiting.

Running scripts with 'set -e' produces silent failures with no
diagnostic. Add an exit handler which produces diagnostics, including
details of what was running if the shell seems to be bash.

(Bitbake rev: e213e6a4c297a4f1c22eed15bd7b4cbc0e9eab4f)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/build.py