diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-01-24 12:36:46 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-01-24 12:36:46 -0800 |
| commit | f2ac7a32aaf9e0f374cf3025f6f86561780951eb (patch) | |
| tree | 895889d5fcfe0ab461759c2af906d052eeadf76a /scripts/fetchDependency.ps1 | |
| parent | d96f56736e9696248584506f364ee31acf12ddc3 (diff) | |
| download | vcpkg-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.ps1 | 2 |
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 |
