diff options
author | Claudio Matsuoka <claudio@mandriva.com> | 2006-11-29 14:18:44 +0000 |
---|---|---|
committer | Claudio Matsuoka <claudio@mandriva.com> | 2006-11-29 14:18:44 +0000 |
commit | cc2d5936452b6c3dd6ade02c20edfff77187ca99 (patch) | |
tree | c32575735025a38e03bc02dc4bbd96bd07f7d424 /iurt2 | |
parent | b239ddfccbf0c57b4a5ca1951a4127343989bae1 (diff) | |
download | iurt-cc2d5936452b6c3dd6ade02c20edfff77187ca99.tar iurt-cc2d5936452b6c3dd6ade02c20edfff77187ca99.tar.gz iurt-cc2d5936452b6c3dd6ade02c20edfff77187ca99.tar.bz2 iurt-cc2d5936452b6c3dd6ade02c20edfff77187ca99.tar.xz iurt-cc2d5936452b6c3dd6ade02c20edfff77187ca99.zip |
Adjusted log level
Diffstat (limited to 'iurt2')
-rwxr-xr-x | iurt2 | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -889,15 +889,15 @@ retry: $run{done}{$srpm} = $done; $urpmi->add_to_local_media($chroot_tmp, $srpm, $luser); } else { - plog("build successful, copying packages to $local_spool."); + plog('OK', "build successful, copying packages to $local_spool."); - system("cp $chroot_tmp/home/$luser/rpm/RPMS/*/*.rpm $local_spool &>/dev/null") and plog("ERROR: could not copy rpm files from $chroot_tmp/home/$luser/rpm/RPMS/ to $local_spool ($!)"); + system("cp $chroot_tmp/home/$luser/rpm/RPMS/*/*.rpm $local_spool &>/dev/null") and plog('ERR', "ERROR: could not copy rpm files from $chroot_tmp/home/$luser/rpm/RPMS/ to $local_spool ($!)"); if ($run{copy_srpm}) { # replace the old srpm unlink "$local_spool/$old_srpm"; - system("cp $chroot_tmp/home/$luser/rpm/SRPMS/$srpm $local_spool &>/dev/null") and plog("ERROR: could not copy $srpm from $chroot_tmp/home/$luser/rpm/SRPMS/ to $local_spool ($!)"); + system("cp $chroot_tmp/home/$luser/rpm/SRPMS/$srpm $local_spool &>/dev/null") and plog('ERR', "ERROR: could not copy $srpm from $chroot_tmp/home/$luser/rpm/SRPMS/ to $local_spool ($!)"); } process_queue($config, \%run, \@wrong_rpm, 1); } |