Merge pull request #6364 from ctammes/patch-1

Update push.rb
This commit is contained in:
Seth Vargo 2015-11-18 14:01:16 -08:00
commit d680811d01
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ module VagrantPlugins
# wait and close the (S)FTP connection as well
files = Hash[*all_files.flat_map do |file|
relative_path = relative_path_for(file, config.dir)
destination = File.expand_path(File.join(config.destination, relative_path))
destination = File.join(config.destination, relative_path)
file = File.expand_path(file, env.root_path)
[file, destination]
end]