diff options
author | Pascal Terjan <pterjan@gmail.com> | 2016-11-24 00:00:14 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@gmail.com> | 2016-11-24 00:18:29 +0000 |
commit | 2328f608ff92c8efad17fbc36e0bbcb50376ef21 (patch) | |
tree | 33a1b542ce57573496d76b0d0720ce2a80632e7b /ulri | |
parent | a3acef1071ae40919dff3fed0065d797b10f8286 (diff) | |
download | iurt-2328f608ff92c8efad17fbc36e0bbcb50376ef21.tar iurt-2328f608ff92c8efad17fbc36e0bbcb50376ef21.tar.gz iurt-2328f608ff92c8efad17fbc36e0bbcb50376ef21.tar.bz2 iurt-2328f608ff92c8efad17fbc36e0bbcb50376ef21.tar.xz iurt-2328f608ff92c8efad17fbc36e0bbcb50376ef21.zip |
Delete src.rpm after last non mandatory arch fails
Diffstat (limited to 'ulri')
-rwxr-xr-x | ulri | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -385,7 +385,7 @@ foreach my $prefix (keys %pkg_tree) { sget($remote, "$prefix_dir/log/*", "$done_dir/$prefix"); ssh($remote, "rm -rf $prefix_dir"); if (check_if_mandatory_arch_failed($media, $prefix, $ent, $config)) { - cleanup_failed_build($todo_dir, $done_dir, $fail_dir, $prefix, $ent, $arch, $config); + cleanup_failed_build($todo_dir, $done_dir, $fail_dir, $prefix, $ent, $media, $arch, $config); } else { $something_finished = 1; } @@ -408,7 +408,7 @@ foreach my $prefix (keys %pkg_tree) { $pkg_tree{$prefix}{media}{$media}{arch}{$arch} = 0; } - cleanup_failed_build($todo_dir, $done_dir, $fail_dir, $prefix, $ent, $arch, $config); + cleanup_failed_build($todo_dir, $done_dir, $fail_dir, $prefix, $ent, $media, $arch, $config); # Notify user if build failed # |