Skip to content

Commit

Permalink
do_cmake: fail if cmake fails
Browse files Browse the repository at this point in the history
Signed-off-by: Kefu Chai <kchai@redhat.com>
  • Loading branch information
tchaikov committed Jul 26, 2018
1 parent bacde7c commit 5868e49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion do_cmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5868e49

Please sign in to comment.