Solved bug with spaces in paths causing errors

This commit is contained in:
John Barney 2013-02-10 01:41:15 -08:00
parent e0949085a0
commit 52156d7c06
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ module VagrantPlugins
# Import the virtual machine
ovf_file = env[:machine].box.directory.join("box.ovf").to_s
if Vagrant::Util::Platform.cygwin?
ovf_file = `cygpath -w #{ovf_file}`.chomp
ovf_file = `cygpath -m '#{ovf_file}'`.chomp
end
env[:machine].id = env[:machine].provider.driver.import(ovf_file) do |progress|
env[:ui].clear_line