Method: Mccloud::Provider::Core::VmCommand#adjust_rsync_path

Defined in:
lib/mccloud/provider/core/vm/rsync.rb

#adjust_rsync_path(path) ⇒ Object

cygwin rsync path must be adjusted to work



38
39
40
41
# File 'lib/mccloud/provider/core/vm/rsync.rb', line 38

def adjust_rsync_path(path)
  return path unless windows_client?
  path.gsub(/^(\w):/) { "/cygdrive/#{$1}" }
end