don't forget to cleanup backup of temp files as well
authorgc <gc>
Sun, 3 Jul 2005 16:11:14 +0000 (16:11 +0000)
committergc <gc>
Sun, 3 Jul 2005 16:11:14 +0000 (16:11 +0000)
bin/booh

index d907bea2c8b87ef66ae28f44cc024ec3b0bd66f0..c05210a8b09441edef2253773ac8f85f9313e82d 100755 (executable)
--- a/bin/booh
+++ b/bin/booh
@@ -1864,7 +1864,7 @@ def open_file_user(filename)
         #- for security
         ios = File.open($filename = tmp.path, File::RDWR|File::CREAT|File::EXCL)
         ios.close
-        $tempfiles << $filename
+        $tempfiles << $filename << "#{$filename}.backup"
     else
         $orig_filename = nil
     end