aboutsummaryrefslogtreecommitdiff
path: root/scripts/fetchDependency.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/fetchDependency.ps1
parentd96f56736e9696248584506f364ee31acf12ddc3 (diff)
downloadvcpkg-f2ac7a32aaf9e0f374cf3025f6f86561780951eb.tar.gz
vcpkg-f2ac7a32aaf9e0f374cf3025f6f86561780951eb.zip
FetchDependency.ps1 now returns the downloaded exe's path
Diffstat (limited to 'scripts/fetchDependency.ps1')
-rw-r--r--scripts/fetchDependency.ps12
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/fetchDependency.ps1 b/scripts/fetchDependency.ps1
index d05d16bea..b56bf1087 100644
--- a/scripts/fetchDependency.ps1
+++ b/scripts/fetchDependency.ps1
@@ -202,6 +202,8 @@ function SelectProgram([Parameter(Mandatory=$true)][string]$Dependency)
{
throw [System.IO.FileNotFoundException] ("Could not detect or download " + $Dependency)
}
+
+ return $downloadPath
}
SelectProgram $Dependency \ No newline at end of file