diff options
author | Pascal Terjan <pterjan@mageia.org> | 2011-04-13 22:33:05 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2011-04-13 22:33:05 +0000 |
commit | 042ed62d9c523ec0fd162ef250cbda3d51ea587c (patch) | |
tree | 691ef74104de326ccadec7f9a88e64a597ae26a0 /ulri | |
parent | 644e853fd4992c316b7676e6c92c6e57d2b20451 (diff) | |
download | iurt-042ed62d9c523ec0fd162ef250cbda3d51ea587c.tar iurt-042ed62d9c523ec0fd162ef250cbda3d51ea587c.tar.gz iurt-042ed62d9c523ec0fd162ef250cbda3d51ea587c.tar.bz2 iurt-042ed62d9c523ec0fd162ef250cbda3d51ea587c.tar.xz iurt-042ed62d9c523ec0fd162ef250cbda3d51ea587c.zip |
Do not create .done before arch is finished
Diffstat (limited to 'ulri')
-rwxr-xr-x | ulri | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -380,8 +380,10 @@ foreach my $prefix (keys %pkg_tree) { $error = 1; last; } elsif (move("$result_file.new", $result_file)) { - create_file($done_file, "$bot $host"); - $success = $compildone->{$prefix}{$arch}; + if ($compildone->{$prefix}{$arch}) { + create_file($done_file, "$bot $host"); + $success = 1; + } } } next if $error; |