]> git.donarmstrong.com Git - biopieces.git/commitdiff
added force to rm of tmpdir
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Thu, 9 Feb 2012 11:20:31 +0000 (11:20 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Thu, 9 Feb 2012 11:20:31 +0000 (11:20 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@1749 74ccb610-7750-0410-82ae-013aeee3265d

code_ruby/lib/maasha/biopieces.rb

index a2cb85d0b2ba0f2b470c9b56720e9355bb1225bd..7a0c50e52fc1dadd0100008313fe822bf30f05fc 100644 (file)
@@ -656,7 +656,7 @@ at_exit do
 
   status = Status.new
   tmpdir = status.get_tmpdir
-  FileUtils.remove_entry_secure(tmpdir) unless tmpdir.nil?
+  FileUtils.remove_entry_secure(tmpdir, true) unless tmpdir.nil?
   status.log(exit_status)
   status.delete
 end