Permalink
Browse files

Fixed [cp: cannot stat `.themes/classic/source/*.': No such file or d…

…irectory]
  • Loading branch information...
1 parent 25704fe commit 3d238313a7390685f7b53dfb54bd57bc0366f8c0 @lukearmstrong lukearmstrong committed Jul 27, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Rakefile
View
@@ -139,7 +139,7 @@ task :update_source, :theme do |t, args|
theme = args.theme || 'classic'
system "mv #{source_dir} #{source_dir}.old"
puts "moved #{source_dir} into #{source_dir}.old/"
- system "mkdir -p #{source_dir}; cp -R #{themes_dir}/"+theme+"/source/*. #{source_dir}"
+ system "mkdir -p #{source_dir}; cp -R #{themes_dir}/"+theme+"/source/. #{source_dir}"
system "cp -Rn #{source_dir}.old/. #{source_dir}"
system "cp -f #{source_dir}.old/_includes/navigation.html #{source_dir}/_includes/navigation.html"
puts "## Updated #{source_dir} ##"

0 comments on commit 3d23831

Please sign in to comment.