diff --git a/lib/vagrant/action/builtin/box_add.rb b/lib/vagrant/action/builtin/box_add.rb index a801ca99a..aeb27779c 100644 --- a/lib/vagrant/action/builtin/box_add.rb +++ b/lib/vagrant/action/builtin/box_add.rb @@ -41,7 +41,7 @@ module Vagrant # Expand the path and try to use that, if possible p = File.expand_path(u.gsub(/^file:\/\//, "")) p = Util::Platform.cygwin_windows_path(p) - next "file://#{p}" if File.file?(p) + next "file://#{p.gsub("\\", "/")}" if File.file?(p) u end