]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
do_cmake: fail if cmake fails 23255/head
authorKefu Chai <kchai@redhat.com>
Thu, 26 Jul 2018 07:03:49 +0000 (15:03 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 26 Jul 2018 08:50:37 +0000 (16:50 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
do_cmake.sh

index c7599859bc80bb5b060077f304ecb094108edaa9..e583c23732472d572c72e28938e188f2f64cf57b 100755 (executable)
@@ -18,7 +18,7 @@ if type cmake3 > /dev/null 2>&1 ; then
 else
     CMAKE=cmake
 fi
-${CMAKE} -DBOOST_J=$NPROC $ARGS "$@" ..
+${CMAKE} -DBOOST_J=$NPROC $ARGS "$@" .. || exit 1
 
 # minimal config to find plugins
 cat <<EOF > ceph.conf