diff options
author | Pascal Terjan <pterjan@gmail.com> | 2014-04-30 12:36:10 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@gmail.com> | 2014-04-30 12:36:10 +0000 |
commit | d938ab80960ece31f3c01921c4a8611db15dacc1 (patch) | |
tree | 718c7dad8102b4c1f6855def80701666040c4d0c /ulri | |
parent | f1617959b102c2ca13ffc87ab9bef835ff04011a (diff) | |
download | iurt-d938ab80960ece31f3c01921c4a8611db15dacc1.tar iurt-d938ab80960ece31f3c01921c4a8611db15dacc1.tar.gz iurt-d938ab80960ece31f3c01921c4a8611db15dacc1.tar.bz2 iurt-d938ab80960ece31f3c01921c4a8611db15dacc1.tar.xz iurt-d938ab80960ece31f3c01921c4a8611db15dacc1.zip |
Set path properly when there is a lock file but no src.rpm left
Diffstat (limited to 'ulri')
-rwxr-xr-x | ulri | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -248,6 +248,9 @@ sub todo_func { if ($r =~ /(\d{14}\.\w+\.\w+\.\d+)_([\w-]+)\.(\w+)\.(\w+)\.(\d{14})\.(\d+)\.lock$/) { my ($prefix, $arch, $bot, $host, $date, $pid) = ($1, $2, $3, $4, $5, $6); + # Set path here too has we may have a lock without the src.rpm + $pkg_tree{$prefix}{media}{$media}{path} = "/$f/$m/$s"; + $arch = $config->{arch_translation}{$arch} if $config->{arch_translation}{$arch}; plog('DEBUG', "found lock on $host/$arch for $prefix"); |