340327fd48
This is a long overdue update which contains lots of bug fixes and some security fixes. Take over maintainership from msf@. Tested by many. Thank you very much! ok jcs@, msf@
12 lines
388 B
Plaintext
12 lines
388 B
Plaintext
$OpenBSD: patch-lib_fileutils_rb,v 1.4 2007/12/27 18:32:33 bernd Exp $
|
|
--- lib/fileutils.rb.orig Sun Mar 4 16:03:11 2007
|
|
+++ lib/fileutils.rb Sat Sep 22 00:10:28 2007
|
|
@@ -236,6 +236,7 @@ module FileUtils
|
|
|
|
def fu_mkdir(path, mode) #:nodoc:
|
|
path = path.sub(%r</\z>, '')
|
|
+ return true if File.exist?(path)
|
|
if mode
|
|
Dir.mkdir path, mode
|
|
File.chmod mode, path
|