aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2011-12-02 08:19:13 +0000
committerPascal Terjan <pterjan@mageia.org>2011-12-02 08:19:13 +0000
commitd860a92ffeb7a32bc5791c65e18fcdd87a41cc7d (patch)
tree9e7db35214cef3f149f2f4ed0fd2015bfe6d3cc8
parent78348fb1f44e8f3a512a8fe3d5e1286280908589 (diff)
downloadiurt-d860a92ffeb7a32bc5791c65e18fcdd87a41cc7d.tar
iurt-d860a92ffeb7a32bc5791c65e18fcdd87a41cc7d.tar.gz
iurt-d860a92ffeb7a32bc5791c65e18fcdd87a41cc7d.tar.bz2
iurt-d860a92ffeb7a32bc5791c65e18fcdd87a41cc7d.tar.xz
iurt-d860a92ffeb7a32bc5791c65e18fcdd87a41cc7d.zip
Fix build package collection for totally noarch packages
-rwxr-xr-xulri3
1 files changed, 2 insertions, 1 deletions
diff --git a/ulri b/ulri
index 8c1560e..1723a8c 100755
--- a/ulri
+++ b/ulri
@@ -312,6 +312,8 @@ foreach my $prefix (keys %pkg_tree) {
my $remote = ssh_setup($config->{ssh_options},
$bot_conf->{user}, $host);
+ my $prefix_dir = "$bot_conf->{packages}/$path/$prefix-$arch/";
+
# If our build is noarch, set arch appropriately.
#
my $lock_file =
@@ -324,7 +326,6 @@ foreach my $prefix (keys %pkg_tree) {
$lock_file =~ s/-noarch//;
}
- my $prefix_dir = "$bot_conf->{packages}/$path/$prefix-$arch/";
my $status_file = "$prefix_dir/log/status.log";
plog('INFO', "check status: $host/$arch ($bot [$pid])");