Change to CMD % style path is no longer required

This commit is contained in:
DanHam 2018-03-23 12:33:35 +00:00
parent 5b652316d9
commit 5419375413
No known key found for this signature in database
GPG Key ID: 58E79AEDD6AA987E
1 changed files with 0 additions and 3 deletions

View File

@ -571,8 +571,5 @@ func (p *Provisioner) generateElevatedRunner(command string) (uploadedPath strin
if err != nil {
return "", fmt.Errorf("Error preparing elevated powershell script: %s", err)
}
// CMD formatted Path required for this op
path = fmt.Sprintf("%s-%s.ps1", "%TEMP%/packer-elevated-shell", uuid)
return path, err
}