lib/vagrant-vcloud/action/sync_folders.rb in vagrant-vcloud-0.2.2 vs lib/vagrant-vcloud/action/sync_folders.rb in vagrant-vcloud-0.3.0

- old
+ new

@@ -75,10 +75,10 @@ # avoid creating an additional directory with rsync hostpath = "#{hostpath}/" if hostpath !~ /\/$/ # on windows rsync.exe requires cygdrive-style paths if Vagrant::Util::Platform.windows? - hostpath = hostpath.gsub(/^(\w):/) { "/cygdrive/\1" } + hostpath = hostpath.gsub(/^(\w):/) { "/cygdrive/#{$1}" } end env[:ui].info( I18n.t( 'vagrant_vcloud.sync.rsync_folder',