diff options
author | Arnaud Patard <rtp@mageia.org> | 2012-07-06 16:27:24 +0000 |
---|---|---|
committer | Arnaud Patard <rtp@mageia.org> | 2012-07-06 16:27:24 +0000 |
commit | 0677a2583acb7f63298a6b7a560e4364317e1f05 (patch) | |
tree | c6b44e19041774e849cd498dcaca0d8e1ce53284 | |
parent | 753e4206939b48d315aedd438916f664d22b8a06 (diff) | |
download | iurt-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-x | iurt2 | 14 |
1 files changed, 6 insertions, 8 deletions
@@ -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 |