Merge pull request #3405 from timcooper/smb-escape-path

synced_folders/smb: Encapsulate path for smb powershell script
This commit is contained in:
Mitchell Hashimoto 2014-04-09 08:43:34 -07:00
commit ac3619bd32
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ module VagrantPlugins
"#{machine.id}-#{id.gsub("/", "-")}")
args = []
args << "-path" << hostpath.gsub("/", "\\")
args << "-path" << "\"#{hostpath.gsub("/", "\\")}\""
args << "-share_name" << data[:smb_id]
#args << "-host_share_username" << @creds[:username]