diff options
author | Pascal Terjan <pterjan@mageia.org> | 2011-04-08 22:18:42 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2011-04-08 22:18:42 +0000 |
commit | 727acfa786b007e48bb81897ddc49540ad6dba82 (patch) | |
tree | 3a9c0c3d3656201a05714a5681c170423046a9fe | |
parent | a68211dec0d8eba69e7dea6b07d069dc9adc655b (diff) | |
download | iurt-727acfa786b007e48bb81897ddc49540ad6dba82.tar iurt-727acfa786b007e48bb81897ddc49540ad6dba82.tar.gz iurt-727acfa786b007e48bb81897ddc49540ad6dba82.tar.bz2 iurt-727acfa786b007e48bb81897ddc49540ad6dba82.tar.xz iurt-727acfa786b007e48bb81897ddc49540ad6dba82.zip |
Prevent lock removal before the build is finished when username contains a _
-rwxr-xr-x | ulri | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -257,7 +257,7 @@ sub todo_func { sub todo_post { my ($todo, $f, $m, $s, $r) = @_; - if ($r =~ /([^_]*)_(.*).lock$/) { + if ($r =~ /(\d{14}\.\w+\.\w+\.\d+)_([\w-]+)\.(\w+)\.(\w+)\.(\d{14})\.(\d+)\.lock$/) { if (!$pkg_tree{$1}{srpms}) { plog('INFO', "cleaning orphan $r"); unlink "$todo/$f/$m/$s/$r"; |