aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xiurt6
1 files changed, 3 insertions, 3 deletions
diff --git a/iurt b/iurt
index c5bdb51..d22ded5 100755
--- a/iurt
+++ b/iurt
@@ -861,7 +861,7 @@ retry:
if ($config->{check_binary_file}) {
$urpmi->install_packages($srpm, $chroot_tmp, $local_spool, 'binary_test', "[REBUILD] binaries packages generated from $srpm do not install correctly", { maintainer => $maintainer } ,@packages) or return $srpm;
} else {
- my $successfile = "$local_spool/log/$srpm/binary_test_$srpm-1.log";
+ my $successfile = "$log_dir/binary_test_$srpm-1.log";
output($successfile, "$srpm build ok");
}
@@ -877,7 +877,7 @@ retry:
} else {
# drop packages and logs if we only want failure logs
if ($run{delete_on_success}) {
- system("rm -rf $local_spool/log/$srpm/");
+ system("rm -rf $log_dir");
} elsif (!$run{discard_packages}) {
plog('OK', "build successful, copying packages to $local_spool.");
if (system("cp $chroot_tmp/home/$luser/rpmbuild/RPMS/*/*.rpm $local_spool &>/dev/null")) {
@@ -888,7 +888,7 @@ retry:
unlink "$local_spool/$package";
}
} else {
- my $packagesfile = "$local_spool/log/$srpm/packages.$run{my_arch}.$run{run}.log";
+ my $packagesfile = "$log_dir/packages.$run{my_arch}.$run{run}.log";
output($packagesfile, map { m|([^/]*)$|; "$1\n" } @packages);
}
}