Expand file paths relative to the root_path
This commit is contained in:
parent
fd3c1c6ebb
commit
50c1c0756e
|
@ -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]
|
||||
|
||||
|
|
Loading…
Reference in New Issue