mirror of
https://github.com/ceph/ceph
synced 2024-12-17 00:46:05 +00:00
Merge pull request #22682 from wwformat/fix-centos-install-deps
install-deps: check the exit status for the $builddepcmd Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
commit
3117fde93a
@ -253,6 +253,7 @@ else
|
||||
esac
|
||||
munge_ceph_spec_in $DIR/ceph.spec
|
||||
$SUDO $builddepcmd $DIR/ceph.spec 2>&1 | tee $DIR/yum-builddep.out
|
||||
[ ${PIPESTATUS[0]} -ne 0 ] && exit 1
|
||||
if [ -n "$dts_ver" ]; then
|
||||
ensure_decent_gcc_on_rh $dts_ver
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user