Merge pull request #7163 from hashicorp/fix_docker_file_provisioner_on_windows
Fix docker file provisioner on windows
This commit is contained in:
commit
acc77b29a7
|
@ -172,7 +172,7 @@ func (p *Provisioner) ProvisionUpload(ui packer.Ui, comm packer.Communicator) er
|
||||||
}
|
}
|
||||||
|
|
||||||
if strings.HasSuffix(dst, "/") {
|
if strings.HasSuffix(dst, "/") {
|
||||||
dst = filepath.Join(dst, filepath.Base(src))
|
dst = dst + filepath.Base(src)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get a default progress bar
|
// Get a default progress bar
|
||||||
|
|
Loading…
Reference in New Issue