aboutsummaryrefslogtreecommitdiffstats
path: root/ulri
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2011-04-13 22:33:05 +0000
committerPascal Terjan <pterjan@mageia.org>2011-04-13 22:33:05 +0000
commit042ed62d9c523ec0fd162ef250cbda3d51ea587c (patch)
tree691ef74104de326ccadec7f9a88e64a597ae26a0 /ulri
parent644e853fd4992c316b7676e6c92c6e57d2b20451 (diff)
downloadiurt-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-xulri6
1 files changed, 4 insertions, 2 deletions
diff --git a/ulri b/ulri
index b5b06eb..cd5bf38 100755
--- a/ulri
+++ b/ulri
@@ -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;