diff options
| author | Richard Purdie <richard@openedhand.com> | 2008-04-30 13:10:28 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2008-04-30 13:10:28 +0000 |
| commit | 04c650ae4f4d6c0c9341e05c8cf3cfd3faaa6595 (patch) | |
| tree | 407763b00e89608ba1bc9d11906c6f3b49bf4fd0 | |
| parent | 7b717d201ad1e1a6710965da8e30de8ada07dfcf (diff) | |
| download | poky-04c650ae4f4d6c0c9341e05c8cf3cfd3faaa6595.tar.gz | |
scripts/poky-autobuild: Preserve exit code
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4374 311d38ba-8fff-0310-9ca6-ca027cbcb966
| -rwxr-xr-x | scripts/poky-autobuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/poky-autobuild b/scripts/poky-autobuild index d283b668d3..cc2d858c6e 100755 --- a/scripts/poky-autobuild +++ b/scripts/poky-autobuild | |||
| @@ -65,8 +65,11 @@ fi | |||
| 65 | 65 | ||
| 66 | bitbake $@ | 66 | bitbake $@ |
| 67 | 67 | ||
| 68 | retval=$? | ||
| 69 | |||
| 68 | if [ "x$POSTPROCESS" != "x" ]; then | 70 | if [ "x$POSTPROCESS" != "x" ]; then |
| 69 | cd .. | 71 | cd .. |
| 70 | $POSTPROCESS $ABTARGET $TARGETDIR | 72 | $POSTPROCESS $ABTARGET $TARGETDIR |
| 71 | fi | 73 | fi |
| 72 | 74 | ||
| 75 | exit $? | ||
