aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMichaƂ Janiszewski <janisozaur@users.noreply.github.com>2018-03-22 22:28:17 +0100
committerRobert Schumacher <roschuma@microsoft.com>2018-03-22 14:28:17 -0700
commit637c9bc0f012e402f5cff5e5f9ac1ca993f89ab8 (patch)
tree40d07df626a9864d126a7cba8a9fe493fc7279a2 /scripts
parent1f62b32641045fe377ee80ff1854a785344687d2 (diff)
downloadvcpkg-637c9bc0f012e402f5cff5e5f9ac1ca993f89ab8.tar.gz
vcpkg-637c9bc0f012e402f5cff5e5f9ac1ca993f89ab8.zip
[vcpkg] Fix setting exePath in fetchTool (#3114)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/fetchTool.ps12
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)
{