aboutsummaryrefslogtreecommitdiff
path: root/scripts/findVisualStudioInstallationInstances.ps1
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-01-24 12:36:46 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2017-01-24 12:36:46 -0800
commitf2ac7a32aaf9e0f374cf3025f6f86561780951eb (patch)
tree895889d5fcfe0ab461759c2af906d052eeadf76a /scripts/findVisualStudioInstallationInstances.ps1
parentd96f56736e9696248584506f364ee31acf12ddc3 (diff)
downloadvcpkg-f2ac7a32aaf9e0f374cf3025f6f86561780951eb.tar.gz
vcpkg-f2ac7a32aaf9e0f374cf3025f6f86561780951eb.zip
FetchDependency.ps1 now returns the downloaded exe's path
Diffstat (limited to 'scripts/findVisualStudioInstallationInstances.ps1')
-rw-r--r--scripts/findVisualStudioInstallationInstances.ps13
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/findVisualStudioInstallationInstances.ps1 b/scripts/findVisualStudioInstallationInstances.ps1
index 241b05bc1..d5faa57d3 100644
--- a/scripts/findVisualStudioInstallationInstances.ps1
+++ b/scripts/findVisualStudioInstallationInstances.ps1
@@ -10,8 +10,7 @@ $vcpkgRootDir = & $scriptsDir\findFileRecursivelyUp.ps1 $scriptsDir .vcpkg-root
$downloadsDir = "$vcpkgRootDir\downloads"
-& $scriptsDir\fetchDependency.ps1 "nuget"
-$nugetexe = "$downloadsDir\nuget-3.5.0\nuget.exe"
+$nugetexe = & $scriptsDir\fetchDependency.ps1 "nuget"
$nugetPackageDir = "$downloadsDir\nuget-packages"
$SetupAPIVersion = "1.3.269-rc"