diff options
author | Pascal Terjan <pterjan@gmail.com> | 2016-11-23 23:58:47 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@gmail.com> | 2016-11-24 00:11:48 +0000 |
commit | a3acef1071ae40919dff3fed0065d797b10f8286 (patch) | |
tree | bd8847b0353e9c47fb8a863c13fe1d8b6f25887c /lib | |
parent | d25bcab33c08748bcffe20a6f40901cfc173a21e (diff) | |
download | iurt-a3acef1071ae40919dff3fed0065d797b10f8286.tar iurt-a3acef1071ae40919dff3fed0065d797b10f8286.tar.gz iurt-a3acef1071ae40919dff3fed0065d797b10f8286.tar.bz2 iurt-a3acef1071ae40919dff3fed0065d797b10f8286.tar.xz iurt-a3acef1071ae40919dff3fed0065d797b10f8286.zip |
Record failed build in the in-memory tree
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Iurt/Queue.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Iurt/Queue.pm b/lib/Iurt/Queue.pm index 3f552b9..c4c79ad 100644 --- a/lib/Iurt/Queue.pm +++ b/lib/Iurt/Queue.pm @@ -55,10 +55,10 @@ sub apply_to_upload_tree { } sub check_if_mandatory_arch_failed { - my ($done_dir, $prefix, $ent, $config) = @_; + my ($media, $prefix, $ent, $config) = @_; my $mandatory_arch = get_mandatory_arch($config, $ent->{target}); foreach my $arch (@$mandatory_arch) { - return 1 if -f "${done_dir}/${prefix}_${arch}.fail"; + return 1 if $ent->{media}{$media}{failed_arch}{$arch}; } } |