diff options
| author | MichaĆ Janiszewski <janisozaur@users.noreply.github.com> | 2018-03-22 22:28:17 +0100 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-03-22 14:28:17 -0700 |
| commit | 637c9bc0f012e402f5cff5e5f9ac1ca993f89ab8 (patch) | |
| tree | 40d07df626a9864d126a7cba8a9fe493fc7279a2 /scripts | |
| parent | 1f62b32641045fe377ee80ff1854a785344687d2 (diff) | |
| download | vcpkg-637c9bc0f012e402f5cff5e5f9ac1ca993f89ab8.tar.gz vcpkg-637c9bc0f012e402f5cff5e5f9ac1ca993f89ab8.zip | |
[vcpkg] Fix setting exePath in fetchTool (#3114)
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/fetchTool.ps1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/fetchTool.ps1 b/scripts/fetchTool.ps1 index 86174ee19..ff9b5d9bf 100644 --- a/scripts/fetchTool.ps1 +++ b/scripts/fetchTool.ps1 @@ -25,7 +25,7 @@ function fetchToolInternal([Parameter(Mandatory=$true)][string]$tool) throw "Unkown tool $tool" } - $exePath = "$downloadsDir\$($toolData.exeRelativePath)" + $exePath = "$downloadsDir\$(@($toolData.exeRelativePath)[0])" if (Test-Path $exePath) { |
