]> git.apps.os.sepia.ceph.com Git - autobuild-ceph.git/commit
build-ceph.sh: fail if run-make-check.sh fails
authorKefu Chai <tchaikov@gmail.com>
Thu, 21 Jul 2016 09:07:58 +0000 (17:07 +0800)
committerKefu Chai <tchaikov@gmail.com>
Thu, 21 Jul 2016 09:09:28 +0000 (17:09 +0800)
commitcd3b50337760bc1bf9f7ec8e057f08bb0a83bb07
treedffa7a91ce564f2231bb9b95ce152de909c09632
parent97184e6454eba8952a44d33ac9582c8552283be0
build-ceph.sh: fail if run-make-check.sh fails

`set -e` is not enough, we need to use `-o pipefail` also.

> pipefail: the return value of a pipeline is the status of the last
> command to exit with a non-zero status, or zero if no command exited
> with a non-zero status

Fixes: http://tracker.ceph.com/issues/16761
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
build-ceph.sh