mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 00:18:59 +08:00
[vcpkg] Fix setting exePath in fetchTool (#3114)
This commit is contained in:
parent
1f62b32641
commit
637c9bc0f0
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user