Skip to content

Commit

Permalink
Replaces system call with cross-platform cp_r, fixes imathis#200
Browse files Browse the repository at this point in the history
  • Loading branch information
fhemberger committed Oct 16, 2011
1 parent 1772a8a commit 82942bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 82942bd

Please sign in to comment.