Don't run with --keepgoing.
authorRichard W.M. Jones <rjones@redhat.com>
Sat, 24 Jan 2009 18:08:03 +0000 (18:08 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Sat, 24 Jan 2009 18:08:03 +0000 (18:08 +0000)
build-everything-in-mock.sh
smock/smock.pl

index bdc81e3..64034f2 100755 (executable)
@@ -4,7 +4,7 @@
 nobuild=$(grep -v '^#' IGNORE)
 
 # Keep going (not safe).  Comment out for a safe build.
-keepgoing=--keepgoing
+#keepgoing=--keepgoing
 
 rm -f */*.src.rpm
 
index 1ba7f7e..2038a82 100755 (executable)
@@ -365,7 +365,7 @@ foreach my $arch (@arches) {
                else {
                    push @errors, "$name-$distro-$arch";
                    print STDERR "Build failed, return code $?\nLeaving the logs in $scratchdir\n";
-                   die unless $keepgoing;
+                   exit 1 unless $keepgoing;
                }
            }
            else