synced_folders/rsync: make sure host path ends in "/"
This commit is contained in:
parent
5bddd6c366
commit
8a1995bec9
|
@ -19,6 +19,12 @@ module VagrantPlugins
|
|||
hostpath, force: true)
|
||||
end
|
||||
|
||||
# Make sure the host path ends with a "/" to avoid creating
|
||||
# a nested directory...
|
||||
if !hostpath.end_with?("/")
|
||||
hostpath += "/"
|
||||
end
|
||||
|
||||
# Connection information
|
||||
username = ssh_info[:username]
|
||||
host = ssh_info[:host]
|
||||
|
|
Loading…
Reference in New Issue