From d24ef00112fdd91f1bca76f6347ab1e7b15e4e14 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Thu, 9 Jan 2020 00:45:22 +0000 Subject: Allow - in host when parsing lock file name --- lib/Iurt/Queue.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Iurt') diff --git a/lib/Iurt/Queue.pm b/lib/Iurt/Queue.pm index 171ff97..541bbff 100644 --- a/lib/Iurt/Queue.pm +++ b/lib/Iurt/Queue.pm @@ -170,7 +170,7 @@ sub get_upload_tree_state { $pkg_tree{$prefix}{srpm_name}{$name} = $srpm; } - if ($r =~ /(\d{14}\.\w+\.\w+\.\d+)_([\w-]+)\.(\w+)\.(\w+)\.(\d{14})\.(\d+)\.lock$/) { + 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 -- cgit v1.2.1