From b2e1dc3e5a4224bd06f1aaa52c87f5c8939787ae Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Thu, 16 Nov 2017 02:01:50 -0800 Subject: Use temp-and-rename pattern for extracting --- scripts/fetchDependency.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/fetchDependency.ps1') diff --git a/scripts/fetchDependency.ps1 b/scripts/fetchDependency.ps1 index 8ea69e488..2cc782feb 100644 --- a/scripts/fetchDependency.ps1 +++ b/scripts/fetchDependency.ps1 @@ -89,7 +89,7 @@ function SelectProgram([Parameter(Mandatory=$true)][string]$Dependency) } elseif($extractionType -eq $ExtractionType_ZIP) { - if (-not (Test-Path $executableFromDownload)) # consider renaming the extraction folder to make sure the extraction finished + if (-not (Test-Path $executableFromDownload)) { vcpkgExtractFile -File $downloadPath -Destination $extractionFolder } -- cgit v1.2.3