Merge pull request #7163 from hashicorp/fix_docker_file_provisioner_on_windows

Fix docker file provisioner on windows
This commit is contained in:
Megan Marsh 2019-01-04 11:25:59 -08:00 committed by GitHub
commit acc77b29a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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