aboutsummaryrefslogtreecommitdiffstats
path: root/ulri
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@gmail.com>2016-11-24 00:00:14 +0000
committerPascal Terjan <pterjan@gmail.com>2016-11-24 00:18:29 +0000
commit2328f608ff92c8efad17fbc36e0bbcb50376ef21 (patch)
tree33a1b542ce57573496d76b0d0720ce2a80632e7b /ulri
parenta3acef1071ae40919dff3fed0065d797b10f8286 (diff)
downloadiurt-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-xulri4
1 files changed, 2 insertions, 2 deletions
diff --git a/ulri b/ulri
index 74a80db..b53c9a4 100755
--- a/ulri
+++ b/ulri
@@ -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
#