aboutsummaryrefslogtreecommitdiffstats
path: root/ulri
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@gmail.com>2014-04-30 12:36:10 +0000
committerPascal Terjan <pterjan@gmail.com>2014-04-30 12:36:10 +0000
commitd938ab80960ece31f3c01921c4a8611db15dacc1 (patch)
tree718c7dad8102b4c1f6855def80701666040c4d0c /ulri
parentf1617959b102c2ca13ffc87ab9bef835ff04011a (diff)
downloadiurt-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-xulri3
1 files changed, 3 insertions, 0 deletions
diff --git a/ulri b/ulri
index 1d0ce24..6da5f20 100755
--- a/ulri
+++ b/ulri
@@ -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");