From: Richard W.M. Jones <"Richard W.M. Jones "> Date: Sat, 24 Jan 2009 18:08:03 +0000 (+0000) Subject: Don't run with --keepgoing. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=8abe5c6b17727a661d9a29ed385c0ba6d1ceed8e;p=fedora-mingw.git Don't run with --keepgoing. --- diff --git a/build-everything-in-mock.sh b/build-everything-in-mock.sh index bdc81e3..64034f2 100755 --- a/build-everything-in-mock.sh +++ b/build-everything-in-mock.sh @@ -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 diff --git a/smock/smock.pl b/smock/smock.pl index 1ba7f7e..2038a82 100755 --- a/smock/smock.pl +++ b/smock/smock.pl @@ -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