summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/build.py
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2016-01-27 16:43:16 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-30 11:43:55 +0000
commit68600aee2d49c66fa74d4bee44a5633bb6790e21 (patch)
tree924e6dde5b9ca0cb7f7a0a82371e8b1c41f23d37 /bitbake/lib/bb/build.py
parent423a2645377bff2cd7292e1dc9796eeb3595e937 (diff)
downloadpoky-68600aee2d49c66fa74d4bee44a5633bb6790e21.tar.gz
bitbake: build.py: minor shell_trap_code() formatting tweaks
Fix quoting of $BASH_COMMAND and avoid wrapping at 80 columns (the script which follows is likely to contain some very long lines, so line wrapping in bb_exit_handler() looks somewhat out of place). (Bitbake rev: 8e12c8f8441a7c6a03e603c5789d6037945704c1) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/build.py')
-rw-r--r--bitbake/lib/bb/build.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py
index 8852209938..4a48a61fab 100644
--- a/bitbake/lib/bb/build.py
+++ b/bitbake/lib/bb/build.py
@@ -277,9 +277,8 @@ bb_exit_handler() {
277 case $ret in 277 case $ret in
278 0) ;; 278 0) ;;
279 *) case $BASH_VERSION in 279 *) case $BASH_VERSION in
280 "") echo "WARNING: exit code $ret from a shell command.";; 280 "") echo "WARNING: exit code $ret from a shell command.";;
281 *) echo "WARNING: ${BASH_SOURCE[0]}:${BASH_LINENO[0]} exit $ret from 281 *) echo "WARNING: ${BASH_SOURCE[0]}:${BASH_LINENO[0]} exit $ret from '$BASH_COMMAND'";;
282 \"$BASH_COMMAND\"";;
283 esac 282 esac
284 exit $ret 283 exit $ret
285 esac 284 esac