diff --git a/plugins/pushes/ftp/push.rb b/plugins/pushes/ftp/push.rb index d153ae778..82c4da1e9 100644 --- a/plugins/pushes/ftp/push.rb +++ b/plugins/pushes/ftp/push.rb @@ -20,6 +20,7 @@ module VagrantPlugins 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)) + file = File.expand_path(file, env.root_path) [file, destination] end]