# File lib/cft.rb, line 225 def mkpath(src, dst) if File::file?(src) src = File::dirname(src) end tgt = File::join(dst, src) unless File::directory?(tgt) || File::symlink?(tgt) FileUtils::mkpath(tgt) end # FIXME: We should try to preserve owenrship/perms/mtime for the # directories end