aboutsummaryrefslogtreecommitdiff
path: root/scripts/fetchDependency.ps1
diff options
context:
space:
mode:
authorxoviat <xoviat@users.noreply.github.com>2017-12-20 13:24:59 -0600
committerGitHub <noreply@github.com>2017-12-20 13:24:59 -0600
commitf1f373b189453f33a944e9db8b3451b1c785e223 (patch)
tree8713b7dc28734e4d4ad0ebba76459850955ce004 /scripts/fetchDependency.ps1
parent6363688b6d2f3522a4ce48cedb60da31775cd923 (diff)
parent6cb6a61aaf5ef2c143f974e9f731778bcd3f5cbe (diff)
downloadvcpkg-f1f373b189453f33a944e9db8b3451b1c785e223.tar.gz
vcpkg-f1f373b189453f33a944e9db8b3451b1c785e223.zip
Merge branch 'master' into fftw
Diffstat (limited to 'scripts/fetchDependency.ps1')
-rw-r--r--scripts/fetchDependency.ps13
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/fetchDependency.ps1 b/scripts/fetchDependency.ps1
index 744439bb7..f62fe450c 100644
--- a/scripts/fetchDependency.ps1
+++ b/scripts/fetchDependency.ps1
@@ -88,7 +88,8 @@ function SelectProgram([Parameter(Mandatory=$true)][string]$Dependency)
{
if (-not (Test-Path $executableFromDownload))
{
- vcpkgExtractFile -File $downloadPath -DestinationDir $downloadsDir
+ $outFilename = (Get-ChildItem $downloadPath).BaseName
+ vcpkgExtractFile -File $downloadPath -DestinationDir $downloadsDir -outFilename $outFilename
}
}
elseif($extractionType -eq $ExtractionType_SELF_EXTRACTING_7Z)