This moves the Set-Location to within the Start-ChocolateyProcessAsAdmin block so the encoded command which Chocolatey generates contains the correct location path and relative path for the teamcity agent batch files.
The existing code will cause Start-ChocolateyProcessAsAdmin to generate the following code
This pull request will result in the following changes, the comment will not be included and is only for reviewers of this pull request to see what's new.
Resovles #30
This moves the
Set-Location
to within theStart-ChocolateyProcessAsAdmin
block so the encoded command which Chocolatey generates contains the correct location path and relative path for the teamcity agent batch files.The existing code will cause
Start-ChocolateyProcessAsAdmin
to generate the following codeThis pull request will result in the following changes, the comment will not be included and is only for reviewers of this pull request to see what's new.
Should this change increment the package version in the nuspec definition?