aboutsummaryrefslogtreecommitdiffstats
path: root/iurt2
diff options
context:
space:
mode:
authorClaudio Matsuoka <claudio@mandriva.com>2006-11-29 14:18:44 +0000
committerClaudio Matsuoka <claudio@mandriva.com>2006-11-29 14:18:44 +0000
commitcc2d5936452b6c3dd6ade02c20edfff77187ca99 (patch)
treec32575735025a38e03bc02dc4bbd96bd07f7d424 /iurt2
parentb239ddfccbf0c57b4a5ca1951a4127343989bae1 (diff)
downloadiurt-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-xiurt26
1 files changed, 3 insertions, 3 deletions
diff --git a/iurt2 b/iurt2
index 35dc7fa..964b8a0 100755
--- a/iurt2
+++ b/iurt2
@@ -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);
}