Removes duplicate mkdir_p

This commit is contained in:
Frederic Hemberger 2011-10-16 11:43:55 +02:00
parent 86c72a4ca6
commit fe19c2aaae

View File

@ -101,7 +101,6 @@ task :new_post, :title do |t, args|
end
puts "Creating new post: #{filename}"
open(filename, 'w') do |post|
system "mkdir -p #{source_dir}/#{posts_dir}/";
post.puts "---"
post.puts "layout: post"
post.puts "title: \"#{title.gsub(/&/,'&').titlecase}\""