From: John Ellson Date: Mon, 7 Oct 2013 23:57:50 +0000 (-0400) Subject: quit earlier on rpmbuild failures X-Git-Tag: 2.38.0~238 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=07b4129544e40838cc97b4131d0c12363b1b4b7c;p=graphviz quit earlier on rpmbuild failures --- diff --git a/builder.sh b/builder.sh index 8f03ceccc..4471a66b0 100755 --- a/builder.sh +++ b/builder.sh @@ -74,8 +74,8 @@ tar cf - rtest | gzip >rtest.tar.gz cp graphviz-$VERSION.tar.gz graphviz-$VERSION.tar.gz.md5 rtest.tar.gz $RPMBUILD/SOURCES/ -rpmbuild -ts -D "distroagnostic 1" $RPMBUILD/SOURCES/graphviz-$VERSION.tar.gz >/dev/null +rpmbuild -ts -D "distroagnostic 1" $RPMBUILD/SOURCES/graphviz-$VERSION.tar.gz || exit 1 -rpmbuild --rebuild $RPMBUILD/SRPMS/graphviz-$VERSION-1.src.rpm +rpmbuild --rebuild $RPMBUILD/SRPMS/graphviz-$VERSION-1.src.rpm || exit 1 (cd $RPMBUILD; createrepo .)