diff options
| author | Neil McNeight <mcneight+github@gmail.com> | 2018-02-06 15:26:06 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-06 15:26:06 -0600 |
| commit | f136732dcd308037d6adee7bfb404e1154f78369 (patch) | |
| tree | ed41baf1ee1add43ddf9314689fffcf4047465af /scripts | |
| parent | 7d969169956190b0e201d9e3d42d14e30eb46a63 (diff) | |
| download | vcpkg-f136732dcd308037d6adee7bfb404e1154f78369.tar.gz vcpkg-f136732dcd308037d6adee7bfb404e1154f78369.zip | |
Fix for Issue #2729
Allows PowerShell to change the name of the downloaded directory correctly.
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/VcpkgPowershellUtils.ps1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/VcpkgPowershellUtils.ps1 b/scripts/VcpkgPowershellUtils.ps1 index 722d337ca..4aaad3479 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 +} |
