From cc2d5936452b6c3dd6ade02c20edfff77187ca99 Mon Sep 17 00:00:00 2001 From: Claudio Matsuoka Date: Wed, 29 Nov 2006 14:18:44 +0000 Subject: Adjusted log level --- iurt2 | 6 +++--- 1 file 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); } -- cgit v1.2.1