aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-12-12 17:52:57 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2017-12-12 17:53:29 -0800
commit1656cf7fa7f8fe7fa3d803c86fbd9ae8a649b719 (patch)
treeb72b0330f6007e87d8f1784ce302026bd212ba00 /scripts
parent85848475feb8c852d24d4875f212e0505ca7238a (diff)
downloadvcpkg-1656cf7fa7f8fe7fa3d803c86fbd9ae8a649b719.tar.gz
vcpkg-1656cf7fa7f8fe7fa3d803c86fbd9ae8a649b719.zip
[powershell] Use \ instead of / for paths. Resolves #2358. Resolves #2361
Diffstat (limited to 'scripts')
-rw-r--r--scripts/VcpkgPowershellUtils.ps14
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