diff options
Diffstat (limited to 'iurt')
-rwxr-xr-x | iurt | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -885,8 +885,16 @@ retry: # If copy fails (like disk full), report a failure and delete partially copied files plog('ERROR', "ERROR: could not copy rpm files from $chroot_tmp/home/$luser/rpmbuild/RPMS/ to $local_spool ($!)"); foreach my $package (@packages) { + $package =~ s|.*/||; unlink "$local_spool/$package"; } + } else { + my $packagesfile = "$local_spool/log/$srpm/packages.$run{my_arch}.$run{run}.log"; + open my $f, ">$packagesfile"; + foreach my $package (@packages) { + $package =~ s|.*/||; + print $f "$package\n"; + } } } |