From 82942bd0885afc343e8c6bd14fd3e117b2d6c05a Mon Sep 17 00:00:00 2001
From: Frederic Hemberger <mail@frederic-hemberger.de>
Date: Sun, 16 Oct 2011 13:07:31 +0200
Subject: Replaces system call with cross-platform cp_r, fixes #200

---
 Rakefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'Rakefile')

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"
-- 
cgit v1.2.1