aboutsummaryrefslogtreecommitdiff
path: root/scripts/bootstrap.ps1
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2018-02-28 17:48:31 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2018-02-28 18:45:33 -0800
commitf3463c4867df66b8f91adc4e2aa795b59997eb9d (patch)
tree862d01ae3d6fb114ae6c5948e65a13c4cddda38a /scripts/bootstrap.ps1
parent8361b44fcdb1d7b0535afe6a22a4aa880b05ed5e (diff)
downloadvcpkg-f3463c4867df66b8f91adc4e2aa795b59997eb9d.tar.gz
vcpkg-f3463c4867df66b8f91adc4e2aa795b59997eb9d.zip
[bootstrap] Fix reference to xml file
Diffstat (limited to 'scripts/bootstrap.ps1')
-rw-r--r--scripts/bootstrap.ps13
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/bootstrap.ps1 b/scripts/bootstrap.ps1
index bc94aecc8..a3c842dc0 100644
--- a/scripts/bootstrap.ps1
+++ b/scripts/bootstrap.ps1
@@ -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"