From 8abe5c6b17727a661d9a29ed385c0ba6d1ceed8e Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 1 Jan 1970 00:00:00 +0000 Subject: [PATCH] Don't run with --keepgoing. --- build-everything-in-mock.sh | 2 +- smock/smock.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 1.8.3.1