Only append folder suffixes if we are sharing host folder paths

Fixes GH-6472
This commit is contained in:
Seth Vargo 2015-11-19 16:07:58 -08:00
parent 66c99ddb70
commit 1fd9aec493
1 changed files with 3 additions and 1 deletions

View File

@ -104,7 +104,9 @@ module VagrantPlugins
end
# If we have specified a folder name to append then append it
remote_path += "/#{appended_folder}" if appended_folder
if type == :host
remote_path += "/#{appended_folder}" if appended_folder
end
# Append the result
results << [type, local_path, remote_path]