fix destination pathing so that it doesnt break on windows
This commit is contained in:
parent
9a63e8eeb6
commit
5c2da6b816
|
@ -172,7 +172,7 @@ func (p *Provisioner) ProvisionUpload(ui packer.Ui, comm packer.Communicator) er
|
|||
}
|
||||
|
||||
if strings.HasSuffix(dst, "/") {
|
||||
dst = filepath.Join(dst, filepath.Base(src))
|
||||
dst = dst + filepath.Base(src)
|
||||
}
|
||||
|
||||
// Get a default progress bar
|
||||
|
|
Loading…
Reference in New Issue