aboutsummaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorFrederic Hemberger <mail@frederic-hemberger.de>2011-10-16 13:07:31 +0200
committerFrederic Hemberger <mail@frederic-hemberger.de>2011-10-16 13:07:31 +0200
commit82942bd0885afc343e8c6bd14fd3e117b2d6c05a (patch)
treebc6e91b5f13b8a5d2493d5596332e7dbba555b83 /Rakefile
parent1772a8af8f22f2f89d263285be2815ebad6189fa (diff)
downloadmy_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 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 05b9c30b..54f98d17 100644
--- a/Rakefile
+++ b/Rakefile
@@ -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"