aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorNeil McNeight <mcneight+github@gmail.com>2018-02-06 15:26:06 -0600
committerGitHub <noreply@github.com>2018-02-06 15:26:06 -0600
commitf136732dcd308037d6adee7bfb404e1154f78369 (patch)
treeed41baf1ee1add43ddf9314689fffcf4047465af /scripts
parent7d969169956190b0e201d9e3d42d14e30eb46a63 (diff)
downloadvcpkg-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.ps14
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
+}