lib/octopress/commands/new.rb in octopress-3.0.0.alpha1 vs lib/octopress/commands/new.rb in octopress-3.0.0.alpha2
- old
+ new
@@ -1,10 +1,10 @@
module Octopress
module Commands
class New < Command
class << self
def process(args = nil, options = nil)
- source = File.join(Octopress.root, 'lib/octopress/scaffold/site')
+ source = File.join(Octopress.lib_root, 'octopress/scaffold/site')
destination = process_args(args)
FileUtils.cp_r "#{source}/.", "#{destination}/"
end
def process_args(args)