From da4275bdec5ab415449f8f60f5722de682e232ce Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Sun, 30 Nov 2008 23:38:48 -0800 Subject: [PATCH] Fixed a duplicate ending bug in the examples generator. --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 7c12d031..1b31ef8b 100644 --- a/Rakefile +++ b/Rakefile @@ -58,7 +58,7 @@ task :examples do engine = Haml::Engine.new(open(haml_file).read, :filename => haml_file) target_dir = "built_examples/#{basename.sub(%r{/[^/]*$},'')}" FileUtils.mkdir_p(target_dir) - output = open("built_examples/#{basename}.html",'w') + output = open("built_examples/#{basename}",'w') output.write(engine.render) output.close end