mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-29 03:04:02 -04:00
Merge pull request #7163 from hashicorp/fix_docker_file_provisioner_on_windows
Fix docker file provisioner on windows
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user