mirror of
https://github.com/ceph/ceph
synced 2025-02-21 18:17:42 +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
|
||||
munge_ceph_spec_in $DIR/ceph.spec
|
||||
$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
|
||||
fi
|
||||
! grep -q -i error: $DIR/yum-builddep.out || exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user