diff options
author | Olivier Blin <blino@mageia.org> | 2011-01-10 11:56:51 +0000 |
---|---|---|
committer | Olivier Blin <blino@mageia.org> | 2011-01-10 11:56:51 +0000 |
commit | 6b5f7e0aa26985279767d39865e624752ed0037e (patch) | |
tree | 9fe363818bd8d6a36b45c01ecfd5a5453cff9f06 /lib | |
parent | 33608a69617694ad3a9c82b9c509091c298e60f0 (diff) | |
download | iurt-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.pm | 1 |
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; |