... | ... |
@@ -230,7 +230,7 @@ multitask :push do |
230 | 230 |
(Dir["#{deploy_dir}/*"]).each { |f| rm_rf(f) } |
231 | 231 |
Rake::Task[:copydot].invoke(public_dir, deploy_dir) |
232 | 232 |
puts "\n## copying #{public_dir} to #{deploy_dir}" |
233 |
- system "cp -R #{public_dir}/* #{deploy_dir}" |
|
233 |
+ cp_r "#{public_dir}/*", deploy_dir |
|
234 | 234 |
cd "#{deploy_dir}" do |
235 | 235 |
system "git add ." |
236 | 236 |
system "git add -u" |