Merge pull request #4792 from mkuzmin/slash
provisioner/ansible-local: Convert Windows paths with backslashes to …
This commit is contained in:
commit
7999f886b1
|
@ -86,7 +86,7 @@ func (p *Provisioner) Prepare(raws ...interface{}) error {
|
|||
}
|
||||
|
||||
if p.config.StagingDir == "" {
|
||||
p.config.StagingDir = filepath.Join(DefaultStagingDir, uuid.TimeOrderedUUID())
|
||||
p.config.StagingDir = filepath.ToSlash(filepath.Join(DefaultStagingDir, uuid.TimeOrderedUUID()))
|
||||
}
|
||||
|
||||
// Validation
|
||||
|
|
Loading…
Reference in New Issue