aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnaud Patard <rtp@mageia.org>2012-07-06 16:27:24 +0000
committerArnaud Patard <rtp@mageia.org>2012-07-06 16:27:24 +0000
commit0677a2583acb7f63298a6b7a560e4364317e1f05 (patch)
treec6b44e19041774e849cd498dcaca0d8e1ce53284
parent753e4206939b48d315aedd438916f664d22b8a06 (diff)
downloadiurt-0677a2583acb7f63298a6b7a560e4364317e1f05.tar
iurt-0677a2583acb7f63298a6b7a560e4364317e1f05.tar.gz
iurt-0677a2583acb7f63298a6b7a560e4364317e1f05.tar.bz2
iurt-0677a2583acb7f63298a6b7a560e4364317e1f05.tar.xz
iurt-0677a2583acb7f63298a6b7a560e4364317e1f05.zip
Always mark build as failed in case of error (allows to detect things like errors
in %clean).
-rwxr-xr-xiurt214
1 files changed, 6 insertions, 8 deletions
diff --git a/iurt2 b/iurt2
index 9528ddb..8529c45 100755
--- a/iurt2
+++ b/iurt2
@@ -976,14 +976,12 @@ retry:
},
freq => 1)) {
- if (!glob "$chroot_tmp/home/$luser/rpm/RPMS/*/*.rpm") {
- $cache->{failure}{$srpm} = 1;
- $run{status}{$srpm} = 'build_failure';
- # 20060615
- dump_cache_par(\%run);
- dump_status($local_spool, \%run);
- next;
- }
+ $cache->{failure}{$srpm} = 1;
+ $run{status}{$srpm} = 'build_failure';
+ # 20060615
+ dump_cache_par(\%run);
+ dump_status($local_spool, \%run);
+ next;
}
# do some cleaning if the compilation is successful