aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/vcpkg_Environment.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-03-03 14:55:33 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2017-03-03 14:55:33 -0800
commit6e094c089151de165d3a78ec573a5c32db5e0b56 (patch)
tree069eccaa80ec7eaf2ca98749abb8884444106f33 /toolsrc/src/vcpkg_Environment.cpp
parent2054f964fd6ab4edd0fcf30d56c2de20387d3077 (diff)
downloadvcpkg-6e094c089151de165d3a78ec573a5c32db5e0b56.tar.gz
vcpkg-6e094c089151de165d3a78ec573a5c32db5e0b56.zip
Enclose path in quotes
Diffstat (limited to 'toolsrc/src/vcpkg_Environment.cpp')
-rw-r--r--toolsrc/src/vcpkg_Environment.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/vcpkg_Environment.cpp b/toolsrc/src/vcpkg_Environment.cpp
index 8f3030269..94a672e2a 100644
--- a/toolsrc/src/vcpkg_Environment.cpp
+++ b/toolsrc/src/vcpkg_Environment.cpp
@@ -44,7 +44,7 @@ namespace vcpkg::Environment
{
const fs::path script = paths.scripts / "fetchDependency.ps1";
// TODO: switch out ExecutionPolicy Bypass with "Remove Mark Of The Web" code and restore RemoteSigned
- return Strings::wformat(L"powershell -ExecutionPolicy Bypass %s -Dependency %s", script.native(), tool_name);
+ return Strings::wformat(LR"(powershell -ExecutionPolicy Bypass "%s" -Dependency %s)", script.native(), tool_name);
}
void ensure_git_on_path(const vcpkg_paths& paths)