]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- exit on cache_rpm_dump failures
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 1 Nov 2004 19:36:48 +0000 (19:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    builder.sh -> 1.286

builder.sh

index fc73e7289001eed58395de615d544a805dba37c7..6fae4b7fd4b3fee5b9ab5ec9802d43db66d95fb1 100644 (file)
@@ -281,6 +281,10 @@ rpm_dump_cache=`
                        rpmbuild --nodigest --nosignature --define 'prep %dump' $BCOND $SPECFILE 2>&1
                        ;;
        esac`
+       if [ $? -ne 0 ]; then
+                echo "ERROR: cache_rpm_dump failed! Check spec file." 1>&2
+                exit 1
+       fi
 }
 
 rpm_dump () {
This page took 0.04634 seconds and 4 git commands to generate.