Skip to content

Commit

Permalink
Change on format for Capistrano v3.4+ support
Browse files Browse the repository at this point in the history
  • Loading branch information
wingrunr21 committed May 5, 2015
1 parent 44739e8 commit 24bad2e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/capistrano/rsync.rb
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,9 @@ def has_roles?
next if !has_roles?

copy = %(#{fetch(:rsync_copy)} "#{rsync_cache.call}/" "#{release_path}/")
on roles(:all).each do execute copy end
on roles(:all) do |host|
execute copy
end
end

# Matches the naming scheme of git tasks.
Expand Down

0 comments on commit 24bad2e

Please sign in to comment.