From f136732dcd308037d6adee7bfb404e1154f78369 Mon Sep 17 00:00:00 2001 From: Neil McNeight Date: Tue, 6 Feb 2018 15:26:06 -0600 Subject: [PATCH] Fix for Issue #2729 Allows PowerShell to change the name of the downloaded directory correctly. --- scripts/VcpkgPowershellUtils.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/VcpkgPowershellUtils.ps1 b/scripts/VcpkgPowershellUtils.ps1 index 722d337caa..4aaad34798 100644 --- a/scripts/VcpkgPowershellUtils.ps1 +++ b/scripts/VcpkgPowershellUtils.ps1 @@ -160,7 +160,7 @@ function vcpkgExtractFile( [Parameter(Mandatory=$true)][string]$file, } else { - Move-Item -Path $destinationPartial -Destination $output + Move-Item -Path "$destinationPartial" -Destination $output } } @@ -220,4 +220,4 @@ function vcpkgFormatElapsedTime([TimeSpan]$ts) } throw $ts -} \ No newline at end of file +}