diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/VcpkgPowershellUtils.ps1 | 2 |
1 files changed, 1 insertions, 1 deletions
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') |
