From 4642191a099ddd578a46ecbb2c08899233e9e754 Mon Sep 17 00:00:00 2001 From: Robert Schumacher Date: Wed, 28 Feb 2018 03:40:10 -0800 Subject: [vcpkg-scripts] The shell zip extractor requires full paths --- scripts/VcpkgPowershellUtils.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/VcpkgPowershellUtils.ps1 b/scripts/VcpkgPowershellUtils.ps1 index d4296857e..80e6fdc1f 100644 --- a/scripts/VcpkgPowershellUtils.ps1 +++ b/scripts/VcpkgPowershellUtils.ps1 @@ -163,7 +163,7 @@ function vcpkgExtractFile( [Parameter(Mandatory=$true)][string]$file, vcpkgCreateDirectoryIfNotExists $destinationPartial $shell = new-object -com shell.application - $zip = $shell.NameSpace($file) + $zip = $shell.NameSpace($(Get-Item $file).fullname) $itemCount = $zip.Items().Count if (vcpkgHasCommand -commandName 'Microsoft.PowerShell.Archive\Expand-Archive') -- cgit v1.2.3