aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorOlivier Blin <blino@mageia.org>2011-01-10 11:56:51 +0000
committerOlivier Blin <blino@mageia.org>2011-01-10 11:56:51 +0000
commit6b5f7e0aa26985279767d39865e624752ed0037e (patch)
tree9fe363818bd8d6a36b45c01ecfd5a5453cff9f06 /lib
parent33608a69617694ad3a9c82b9c509091c298e60f0 (diff)
downloadiurt-6b5f7e0aa26985279767d39865e624752ed0037e.tar
iurt-6b5f7e0aa26985279767d39865e624752ed0037e.tar.gz
iurt-6b5f7e0aa26985279767d39865e624752ed0037e.tar.bz2
iurt-6b5f7e0aa26985279767d39865e624752ed0037e.tar.xz
iurt-6b5f7e0aa26985279767d39865e624752ed0037e.zip
close the rpmmacros file when done
Diffstat (limited to 'lib')
-rw-r--r--lib/Iurt/Chroot.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm
index 7a183bd..c331b53 100644
--- a/lib/Iurt/Chroot.pm
+++ b/lib/Iurt/Chroot.pm
@@ -161,6 +161,7 @@ sub dump_rpmmacros {
\%distribution $config->{distribution}
\%vendor $config->{vendor}
\%packager $packager);
+ close $f;
my $ret = sudo($run, $config, '--cp', $tmpfile, $file);
unlink $tmpfile;