Skip to content

Commit

Permalink
Escape colon in synced folder id
Browse files Browse the repository at this point in the history
This is a actual for Windows guests, where colon is the part of any absolute path.
Parallels Desktop replaces colons (:) by asterisks (*) on the guest side,
so, it breaks the synced folder mapping for Vagrant.
  • Loading branch information
legal90 committed Oct 21, 2015
1 parent 5b2bb78 commit 4025015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vagrant-parallels/synced_folder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def driver(machine)
end

def os_friendly_id(id)
id.gsub(/[\/]/,'_').sub(/^_/, '')
id.gsub(/[\/:]/,'_').sub(/^_/, '')
end
end
end
Expand Down

0 comments on commit 4025015

Please # to comment.