From 07b4129544e40838cc97b4131d0c12363b1b4b7c Mon Sep 17 00:00:00 2001 From: John Ellson Date: Mon, 7 Oct 2013 19:57:50 -0400 Subject: [PATCH] quit earlier on rpmbuild failures --- builder.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 .) -- 2.40.0