parent
5fe4b6d877
commit
4b889ee641
|
@ -188,7 +188,7 @@ module Vagrant
|
||||||
path = path.gsub("/", "\\")
|
path = path.gsub("/", "\\")
|
||||||
|
|
||||||
# If the path is just a drive letter, then return that as-is
|
# 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
|
# Convert to UNC path
|
||||||
"\\\\?\\" + path.gsub("/", "\\")
|
"\\\\?\\" + path.gsub("/", "\\")
|
||||||
|
|
Loading…
Reference in New Issue