$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
