lib/remote_run/runner.rb in remote_run-0.1.4 vs lib/remote_run/runner.rb in remote_run-0.1.5
- old
+ new
@@ -37,10 +37,10 @@
end
def sync_working_copy_to_temp_location
log("Creating temporary copy of #{@configuration.local_path} in #{@configuration.temp_path}...")
excludes = @configuration.exclude.map { |dir| "--exclude '#{dir}'"}
- system("rsync --delete --delete-excluded #{excludes.join(" ")} -aq #{@configuration.local_path}/ #{@configuration.temp_path}/")
+ system("rsync #{Configuration::RSYNC_CONFIG} --delete-excluded #{excludes.join(" ")} -q #{@configuration.local_path}/ #{@configuration.temp_path}/")
log("Done.")
end
def start_tasks
log("Starting tasks... #{Time.now}")