aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-24 15:37:08 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-24 15:37:08 +0000
commit6fcf2a8c820f169399a35786180953ecea89e6d3 (patch)
tree5f6b870db059d1b6207b4b6fd909c2a25a0c5c74
parent136490ec5249d36e757a4fa285e987ef496598ff (diff)
downloadiurt-6fcf2a8c820f169399a35786180953ecea89e6d3.tar
iurt-6fcf2a8c820f169399a35786180953ecea89e6d3.tar.gz
iurt-6fcf2a8c820f169399a35786180953ecea89e6d3.tar.bz2
iurt-6fcf2a8c820f169399a35786180953ecea89e6d3.tar.xz
iurt-6fcf2a8c820f169399a35786180953ecea89e6d3.zip
(create_temp_chroot) kill unused arg
-rwxr-xr-xiurt22
-rw-r--r--lib/Iurt/Chroot.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/iurt2 b/iurt2
index 1ffac29..ba994e2 100755
--- a/iurt2
+++ b/iurt2
@@ -834,7 +834,7 @@ retry:
if (!$run{use_old_chroot}) {
$chroot_tmp = create_temp_chroot(\%run, $config,
- $cache, $chroot_tmp, $chroot_tar, $srpm) or next;
+ $cache, $chroot_tmp, $chroot_tar) or next;
}
if (!$urpmi->urpmi_command($chroot_tmp, $luser)) {
diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm
index deb15f2..3d13c28 100644
--- a/lib/Iurt/Chroot.pm
+++ b/lib/Iurt/Chroot.pm
@@ -205,7 +205,7 @@ sub add_local_user {
}
sub create_temp_chroot {
- my ($run, $config, $_cache, $chroot_tmp, $chroot_tar, $o_srpm) = @_;
+ my ($run, $config, $_cache, $chroot_tmp, $chroot_tar) = @_;
plog("Install new chroot");
plog('DEBUG', "... in $chroot_tmp");