Browse code

Removes duplicate mkdir_p

Frederic Hemberger authored on 16/10/2011 at 09:43:55
Showing 1 changed files
... ...
@@ -101,7 +101,6 @@ task :new_post, :title do |t, args|
101 101
   end
102 102
   puts "Creating new post: #{filename}"
103 103
   open(filename, 'w') do |post|
104
-    system "mkdir -p #{source_dir}/#{posts_dir}/";
105 104
     post.puts "---"
106 105
     post.puts "layout: post"
107 106
     post.puts "title: \"#{title.gsub(/&/,'&').titlecase}\""