aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v0/sitemaps.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2008-01-19 03:19:08 +0000
committerRalph Amissah <ralph@amissah.com>2008-01-19 03:19:08 +0000
commit1589a06e7a7781cd88bec3826439c862feaf24ea (patch)
treeee8afbf0cddb7c9db40fd32087eb7d81073e270c /lib/sisu/v0/sitemaps.rb
parentpermit to run on ruby 1.9, debian unstable requires it (diff)
mkdir_p, and again close running of ruby 1.9
* mkdir_p, [instead of ftools file.mkpath] * running against ruby 1.9 closed for now raise request for use of version 1.8 branch
Diffstat (limited to 'lib/sisu/v0/sitemaps.rb')
-rw-r--r--lib/sisu/v0/sitemaps.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v0/sitemaps.rb b/lib/sisu/v0/sitemaps.rb
index 9838e60b..3742a786 100644
--- a/lib/sisu/v0/sitemaps.rb
+++ b/lib/sisu/v0/sitemaps.rb
@@ -104,7 +104,7 @@ module SiSU_Sitemaps
end
end
def make_path(path)
- File.mkpath(path) unless FileTest.directory?(path)
+ mkdir_p(path) unless FileTest.directory?(path)
end
def output_map(sitemap)
path="#{@env.path.output}/#{@md.fnb}"