[BioRuby-cvs] bioruby/lib/bio/shell setup.rb,1.4,1.5

Katayama Toshiaki k at dev.open-bio.org
Wed Jun 20 23:49:00 UTC 2007


Update of /home/repository/bioruby/bioruby/lib/bio/shell
In directory dev.open-bio.org:/tmp/cvs-serv20094/lib/bio/shell

Modified Files:
	setup.rb 
Log Message:
* modified to use FileUtils.mkdir_p instead of Dir.mkdir


Index: setup.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/shell/setup.rb,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** setup.rb	20 Jun 2007 17:26:56 -0000	1.4
--- setup.rb	20 Jun 2007 23:48:58 -0000	1.5
***************
*** 106,110 ****
  =end
      savedir = "#{ENV['HOME']}/.bioruby"
!     Dir.mkdir(savedir) unless File.directory?(savedir)
      return savedir
    end
--- 106,110 ----
  =end
      savedir = "#{ENV['HOME']}/.bioruby"
!     FileUtils.mkdir_p(savedir)
      return savedir
    end




More information about the bioruby-cvs mailing list