openbsd-ports/lang/ruby/patches/patch-lib_fileutils_rb
bernd 340327fd48 Update to ruby-1.8.6 patchlevel 111.
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@
2007-12-27 18:32:32 +00:00

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