Skip to content

Commit

Permalink
Merge pull request Bladrak#2 from wingrunr21/cap_v34_fix
Browse files Browse the repository at this point in the history
Change on format for Capistrano v3.4+ support
  • Loading branch information
Bladrak committed May 29, 2015
2 parents 44739e8 + 24bad2e commit ef22fd5
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 ef22fd5

Please sign in to comment.