lib/jinda/gen_helpers.rb in jinda-0.7.7 vs lib/jinda/gen_helpers.rb in jinda-0.7.7.1

- old
+ new

@@ -7,10 +7,10 @@ def gen_view_file_exist?(dir) File.exists?(dir) end def gen_view_mkdir(dir,t) - Dir.mkdir(dir) + FileUtils.mkdir_p(dir) unless File.exists?(dir) t << "create directory #{dir}" end def gen_view_createfile(s,f,t) FileUtils.cp s,f