aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-08-27 04:05:47 +0000
committerThierry Vignaud <tv@mageia.org>2012-08-27 04:05:47 +0000
commit139a55b767c02f18876ae7eb7ba9a64161941030 (patch)
treecc59a2bb4a3fc66a5b0ef87be8f871410cf3b66f
parent47f8dda3bfb5786615f047152102dcde8750bddd (diff)
downloadiurt-139a55b767c02f18876ae7eb7ba9a64161941030.tar
iurt-139a55b767c02f18876ae7eb7ba9a64161941030.tar.gz
iurt-139a55b767c02f18876ae7eb7ba9a64161941030.tar.bz2
iurt-139a55b767c02f18876ae7eb7ba9a64161941030.tar.xz
iurt-139a55b767c02f18876ae7eb7ba9a64161941030.zip
(clean_chroot) we can now kill one more useless argument
-rwxr-xr-xiurt22
-rw-r--r--lib/Iurt/Chroot.pm4
2 files changed, 3 insertions, 3 deletions
diff --git a/iurt2 b/iurt2
index e8b5174..ccb3202 100755
--- a/iurt2
+++ b/iurt2
@@ -1076,7 +1076,7 @@ retry:
} while $rebuild;
if (!$run{debug} && !$run{use_old_chroot}) {
- clean_chroot($chroot_tmp, $chroot_ref, \%run, $config);
+ clean_chroot($chroot_tmp, \%run, $config);
}
plog("reprocess generated packages queue");
process_queue($config, \%run, \@wrong_rpm);
diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm
index 488b53e..84fe3b1 100644
--- a/lib/Iurt/Chroot.pm
+++ b/lib/Iurt/Chroot.pm
@@ -33,7 +33,7 @@ Return true.
=cut
sub clean_chroot {
- my ($chroot, $chroot_ref, $run, $config) = @_;
+ my ($chroot, $run, $config) = @_;
plog('DEBUG', "clean chroot");
if (-d $chroot) {
@@ -67,7 +67,7 @@ Return true.
sub clean_and_build_chroot {
my ($chroot, $chroot_ref, $run, $config) = @_;
- clean_chroot($chroot, $chroot_ref, $run, $config) and return 1;
+ clean_chroot($chroot, $run, $config) and return 1;
if (!create_build_chroot($chroot, $chroot_ref, $run, $config)) {
plog('ERROR', "Failed to create chroot");