Merge pull request #4792 from mkuzmin/slash

provisioner/ansible-local: Convert Windows paths with backslashes to …
This commit is contained in:
Matthew Hooker 2017-04-26 15:20:49 -07:00 committed by GitHub
commit 7999f886b1
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ func (p *Provisioner) Prepare(raws ...interface{}) error {
} }
if p.config.StagingDir == "" { if p.config.StagingDir == "" {
p.config.StagingDir = filepath.Join(DefaultStagingDir, uuid.TimeOrderedUUID()) p.config.StagingDir = filepath.ToSlash(filepath.Join(DefaultStagingDir, uuid.TimeOrderedUUID()))
} }
// Validation // Validation