]> git.donarmstrong.com Git - biopieces.git/blobdiff - code_ruby/lib/maasha/biopieces.rb
fixed missing BP_TMP dir feature
[biopieces.git] / code_ruby / lib / maasha / biopieces.rb
index 1797d9211ed4e16ddcc1101b86d1170437ae314f..e51d53877185a7f97b157d27ad2bf9592bbbbf58 100644 (file)
@@ -31,6 +31,8 @@ require 'pp'
 require 'stringio'
 require 'zlib'
 
+BEGIN { Dir.mkdir ENV["BP_TMP"] unless File.directory? ENV["BP_TMP"] }
+
 TEST = false
 
 # Monkey patch (evil) changing the to_s method of the Hash class to