diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-12-12 17:52:57 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-12-12 17:53:29 -0800 |
| commit | 1656cf7fa7f8fe7fa3d803c86fbd9ae8a649b719 (patch) | |
| tree | b72b0330f6007e87d8f1784ce302026bd212ba00 | |
| parent | 85848475feb8c852d24d4875f212e0505ca7238a (diff) | |
| download | vcpkg-1656cf7fa7f8fe7fa3d803c86fbd9ae8a649b719.tar.gz vcpkg-1656cf7fa7f8fe7fa3d803c86fbd9ae8a649b719.zip | |
[powershell] Use \ instead of / for paths. Resolves #2358. Resolves #2361
| -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 45f52b225..e394e540e 100644 --- a/scripts/VcpkgPowershellUtils.ps1 +++ b/scripts/VcpkgPowershellUtils.ps1 @@ -150,9 +150,9 @@ function vcpkgExtractFile( [Parameter(Mandatory=$true)][string]$file, [Parameter(Mandatory=$true)][string]$outFilename) { vcpkgCreateDirectoryIfNotExists $destinationDir - $output = "$destinationDir/$outFilename" + $output = "$destinationDir\$outFilename" vcpkgRemoveItem $output - $destinationPartial = "$destinationDir/partially-extracted" + $destinationPartial = "$destinationDir\partially-extracted" vcpkgRemoveItem $destinationPartial vcpkgCreateDirectoryIfNotExists $destinationPartial |
