Fix for #6761 (fixes incomplete #6598)

This commit is contained in:
Peter Mosmans 2015-12-30 07:56:08 +10:00
parent 5fe4b6d877
commit 4b889ee641
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ module Vagrant
path = path.gsub("/", "\\")
# If the path is just a drive letter, then return that as-is
return path if path =~ /^[a-zA-Z]:\\?$/
return path + "\\" if path =~ /^[a-zA-Z]:\\?$/
# Convert to UNC path
"\\\\?\\" + path.gsub("/", "\\")