[Mageia-sysadm] [260] close the rpmmacros file when done

root at mageia.org root at mageia.org
Mon Jan 10 12:56:51 CET 2011


Revision: 260
Author:   blino
Date:     2011-01-10 12:56:51 +0100 (Mon, 10 Jan 2011)
Log Message:
-----------
close the rpmmacros file when done

Modified Paths:
--------------
    build_system/iurt/trunk/lib/Iurt/Chroot.pm

Modified: build_system/iurt/trunk/lib/Iurt/Chroot.pm
===================================================================
--- build_system/iurt/trunk/lib/Iurt/Chroot.pm	2011-01-09 22:50:26 UTC (rev 259)
+++ build_system/iurt/trunk/lib/Iurt/Chroot.pm	2011-01-10 11:56:51 UTC (rev 260)
@@ -161,6 +161,7 @@
 \%distribution           $config->{distribution}
 \%vendor                 $config->{vendor}
 \%packager               $packager);
+    close $f;
 
     my $ret = sudo($run, $config, '--cp', $tmpfile, $file);
     unlink $tmpfile;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110110/5fd85aee/attachment.html>


More information about the Mageia-sysadm mailing list