summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Ziegler <austin@zieglers.ca>2015-11-21 10:43:08 -0500
committerAustin Ziegler <austin@zieglers.ca>2015-11-21 10:43:08 -0500
commitfac392c20e82cb8c8c4aef41dd8fd69c2de9d065 (patch)
tree472b88b14616acc869a2d14b4c9674ee4cb055ee
parentb6413b2c48f4ee904dce833299639f8a3c357fd8 (diff)
downloadmime-types-fac392c20e82cb8c8c4aef41dd8fd69c2de9d065.tar.gz
Fixing document conversion.
-rw-r--r--Rakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rakefile b/Rakefile
index e3d27bc..624e3ba 100644
--- a/Rakefile
+++ b/Rakefile
@@ -188,8 +188,8 @@ namespace :convert do
end
FileList['*.rdoc'].each do |name|
- rdoc = "#{name}.rdoc"
- mark = "#{name}.md"
+ rdoc = name
+ mark = "#{File.basename(name, '.rdoc')}.md"
file mark => [ rdoc, :setup ] do |t|
puts "#{rdoc} => #{mark}"