lib/helpers.rb in encbs-0.2.1.beta1 vs lib/helpers.rb in encbs-0.2.1.beta2

- old
+ new

@@ -12,10 +12,10 @@ print msg if $PRINT_VERBOSE end def try_create_dir(dir) begin - FileUtils.mkdir_p dir unless Dir.exists? dir + FileUtils.mkdir_p dir unless File.directory? dir rescue Errno::EACCES puts_fail "Permission denied for #{dir.dark_green}" end end