aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2011-12-02 16:46:06 +0000
committerPascal Terjan <pterjan@mageia.org>2011-12-02 16:46:06 +0000
commit1f34e394f4feb0d1ee07e0abf28721dfcc4caed6 (patch)
tree7b97040b8743a6cdcf74654c3d6740cbf4d2c632
parentd860a92ffeb7a32bc5791c65e18fcdd87a41cc7d (diff)
downloadiurt-1f34e394f4feb0d1ee07e0abf28721dfcc4caed6.tar
iurt-1f34e394f4feb0d1ee07e0abf28721dfcc4caed6.tar.gz
iurt-1f34e394f4feb0d1ee07e0abf28721dfcc4caed6.tar.bz2
iurt-1f34e394f4feb0d1ee07e0abf28721dfcc4caed6.tar.xz
iurt-1f34e394f4feb0d1ee07e0abf28721dfcc4caed6.zip
Merge log files in non arch specific directory, as it used to be
-rwxr-xr-xulri3
1 files changed, 2 insertions, 1 deletions
diff --git a/ulri b/ulri
index 1723a8c..210834f 100755
--- a/ulri
+++ b/ulri
@@ -454,7 +454,8 @@ foreach my $prefix (keys %pkg_tree) {
create_file("$done_dir/${prefix}_$arch.fail", "$bot $host");
make_path($fail_dir);
- if (sget($remote, "$prefix_dir/", "$fail_dir/")) {
+ mkdir("$fail_dir/$prefix");
+ if (sget($remote, "$prefix_dir/*", "$fail_dir/$prefix")) {
plog('ERR', "copying from $host:$prefix_dir/ " .
"to $fail_dir/ failed ($!)");
$compildone->{$prefix}{$media}{$arch} = 0;