mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
[bootstrap] Fix reference to xml file
This commit is contained in:
parent
8361b44fcd
commit
f3463c4867
@ -16,8 +16,7 @@ try
|
||||
{
|
||||
[xml]$asXml = Get-Content "$scriptsDir\vcpkgTools.xml"
|
||||
$toolData = $asXml.SelectSingleNode("//tools/tool[@name=`"git`"]")
|
||||
$postExtractionExecutableRelativePath = $toolData.postExtractionExecutableRelativePath
|
||||
$gitFromDownload = "$vcpkgRootDir\downloads\$postExtractionExecutableRelativePath"
|
||||
$gitFromDownload = "$vcpkgRootDir\downloads\$($toolData.exeRelativePath)"
|
||||
$gitDir = split-path -parent $gitFromDownload
|
||||
|
||||
$env:path += ";$gitDir"
|
||||
|
Loading…
x
Reference in New Issue
Block a user