diff options
author | Frederic Hemberger <mail@frederic-hemberger.de> | 2011-10-16 13:07:31 +0200 |
---|---|---|
committer | Frederic Hemberger <mail@frederic-hemberger.de> | 2011-10-16 13:07:31 +0200 |
commit | 82942bd0885afc343e8c6bd14fd3e117b2d6c05a (patch) | |
tree | bc6e91b5f13b8a5d2493d5596332e7dbba555b83 /Rakefile | |
parent | 1772a8af8f22f2f89d263285be2815ebad6189fa (diff) | |
download | my_new_personal_website-82942bd0885afc343e8c6bd14fd3e117b2d6c05a.tar.xz my_new_personal_website-82942bd0885afc343e8c6bd14fd3e117b2d6c05a.zip |
Replaces system call with cross-platform cp_r, fixes #200
Diffstat (limited to '')
-rw-r--r-- | Rakefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -230,7 +230,7 @@ multitask :push do (Dir["#{deploy_dir}/*"]).each { |f| rm_rf(f) } Rake::Task[:copydot].invoke(public_dir, deploy_dir) puts "\n## copying #{public_dir} to #{deploy_dir}" - system "cp -R #{public_dir}/* #{deploy_dir}" + cp_r "#{public_dir}/*", deploy_dir cd "#{deploy_dir}" do system "git add ." system "git add -u" |