mirror of
https://github.com/ceph/ceph
synced 2025-02-22 10:37:15 +00:00
install-deps.sh: fix an error condition expression
Signed-off-by: Yao Guotao <yaoguot@gmail.com>
This commit is contained in:
parent
21146f9e4d
commit
b3a5949031
@ -315,7 +315,7 @@ else
|
|||||||
esac
|
esac
|
||||||
munge_ceph_spec_in $DIR/ceph.spec
|
munge_ceph_spec_in $DIR/ceph.spec
|
||||||
$SUDO $builddepcmd $DIR/ceph.spec 2>&1 | tee $DIR/yum-builddep.out
|
$SUDO $builddepcmd $DIR/ceph.spec 2>&1 | tee $DIR/yum-builddep.out
|
||||||
if [ -n dts_ver ]; then
|
if [ -n "$dts_ver" ]; then
|
||||||
ensure_decent_gcc_on_rh $dts_ver
|
ensure_decent_gcc_on_rh $dts_ver
|
||||||
fi
|
fi
|
||||||
! grep -q -i error: $DIR/yum-builddep.out || exit 1
|
! grep -q -i error: $DIR/yum-builddep.out || exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user