lib/capistrano/recipes/deploy/strategy/rsync_remote_cache.rb in capistrano-rsync-remote-cache-1.0.0 vs lib/capistrano/recipes/deploy/strategy/rsync_remote_cache.rb in capistrano-rsync-remote-cache-1.0.1

- old
+ new

@@ -58,10 +58,10 @@ def copy_remote_cache run("rsync -azx #{repository_cache_path}/ #{configuration[:release_path]}/") end def rsync_command_for(server) - "sshpass -p '#{password}'' rsync #{rsync_options} --rsh='ssh -p #{ssh_port(server)} #{rsync_ssh_options}' '#{local_cache_path}/' #{rsync_host(server)}:#{repository_cache_path}/" + "sshpass -p '#{password}' rsync #{rsync_options} --rsh='ssh -p #{ssh_port(server)} #{rsync_ssh_options}' '#{local_cache_path}/' #{rsync_host(server)}:#{repository_cache_path}/" end def mark_local_cache File.open(File.join(local_cache_path, 'REVISION'), 'w') {|f| f << revision } end