Skip to content

Commit

Permalink
changed a cp command using system() to use the cross-platform copy_en…
Browse files Browse the repository at this point in the history
…try; this was to fix a deployment issue to GitHub Pages on Windows 7
  • Loading branch information
bennage committed Oct 4, 2011
1 parent bc14e14 commit eed92b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
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}"
copy_entry "#{public_dir}", "#{deploy_dir}"
cd "#{deploy_dir}" do
system "git add ."
system "git add -u"
Expand Down

0 comments on commit eed92b6

Please sign in to comment.