Fixed rake update_source
Brandon Mathis authored on 27/07/2011 at 22:09:37... | ... |
@@ -139,7 +139,7 @@ task :update_source, :theme do |t, args| |
139 | 139 |
theme = args.theme || 'classic' |
140 | 140 |
system "mv #{source_dir} #{source_dir}.old" |
141 | 141 |
puts "moved #{source_dir} into #{source_dir}.old/" |
142 |
- system "mkdir -p #{source_dir}; cp -R #{themes_dir}/"+theme+"/source/*. #{source_dir}" |
|
142 |
+ system "mkdir -p #{source_dir}; cp -R #{themes_dir}/"+theme+"/source/. #{source_dir}" |
|
143 | 143 |
system "cp -Rn #{source_dir}.old/. #{source_dir}" |
144 | 144 |
system "cp -f #{source_dir}.old/_includes/navigation.html #{source_dir}/_includes/navigation.html" |
145 | 145 |
puts "## Updated #{source_dir} ##" |