Commit 45ee2098 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmbb: exit on error when use short-circuit

parent ee48f878
...@@ -98,7 +98,7 @@ fi ...@@ -98,7 +98,7 @@ fi
if [ -n "$BUILDOPT" ] ; then if [ -n "$BUILDOPT" ] ; then
is_alt || fatal "Sorry, only ALT Linux rpm supports --short-circuit correctly" is_alt || fatal "Sorry, only ALT Linux rpm supports --short-circuit correctly"
for it in $BUILDOPT ; do for it in $BUILDOPT ; do
uni_rpmbuild --commit $LISTNAMES -b$it $LISTRPMARGS $NODEPS --target $BUILDARCH --short-circuit uni_rpmbuild --commit $LISTNAMES -b$it $LISTRPMARGS $NODEPS --target $BUILDARCH --short-circuit || exit
done done
exit 0 exit 0
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment