[bootstrap] Fix reference to xml file

This commit is contained in:
Alexander Karatarakis 2018-02-28 17:48:31 -08:00
parent 8361b44fcd
commit f3463c4867

View File

@ -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"