aboutsummaryrefslogtreecommitdiff
path: root/scripts/bootstrap.ps1
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2018-02-23 16:34:31 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2018-02-23 18:19:04 -0800
commit407767858336479eebe759404db689a9b1e16671 (patch)
tree7f3014c271062212caa4d3e4c8aa3ca11b96f9fc /scripts/bootstrap.ps1
parentf0cee21f7a11c9c2073616e199b412d6fb2a364d (diff)
downloadvcpkg-407767858336479eebe759404db689a9b1e16671.tar.gz
vcpkg-407767858336479eebe759404db689a9b1e16671.zip
Rename "depenencies" to tools. Rework xml file to reduce fields.
Diffstat (limited to 'scripts/bootstrap.ps1')
-rw-r--r--scripts/bootstrap.ps16
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/bootstrap.ps1 b/scripts/bootstrap.ps1
index 9ee2d1643..bc94aecc8 100644
--- a/scripts/bootstrap.ps1
+++ b/scripts/bootstrap.ps1
@@ -14,9 +14,9 @@ $gitHash = "unknownhash"
$oldpath = $env:path
try
{
- [xml]$asXml = Get-Content "$scriptsDir\vcpkgDependencies.xml"
- $dependencyData = $asXml.SelectSingleNode("//dependencies/dependency[@name=`"git`"]")
- $postExtractionExecutableRelativePath = $dependencyData.postExtractionExecutableRelativePath
+ [xml]$asXml = Get-Content "$scriptsDir\vcpkgTools.xml"
+ $toolData = $asXml.SelectSingleNode("//tools/tool[@name=`"git`"]")
+ $postExtractionExecutableRelativePath = $toolData.postExtractionExecutableRelativePath
$gitFromDownload = "$vcpkgRootDir\downloads\$postExtractionExecutableRelativePath"
$gitDir = split-path -parent $gitFromDownload