Delete the temporary file when we're done with it.
authorTilman Sauerbeck <tilman@code-monkey.de>
Sat, 12 Aug 2006 20:03:53 +0000 (22:03 +0200)
committerTilman Sauerbeck <tilman@code-monkey.de>
Wed, 23 Aug 2006 17:33:44 +0000 (19:33 +0200)
rake/configuretask.rb

index 9a20f794f59c7ed0445e40ccd9e13c67766b0961..d0e0983fe07d092d975657c0e3de83b84e2d019b 100644 (file)
@@ -148,6 +148,8 @@ module Rake
                                                exec(bin)
                                        rescue SystemCallError
                                                exit 0xb00bface
                                                exec(bin)
                                        rescue SystemCallError
                                                exit 0xb00bface
+                                       ensure
+                                               tf.close
                                        end
                                end
 
                                        end
                                end