diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-03-03 14:55:33 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-03-03 14:55:33 -0800 |
| commit | 6e094c089151de165d3a78ec573a5c32db5e0b56 (patch) | |
| tree | 069eccaa80ec7eaf2ca98749abb8884444106f33 /toolsrc/src/vcpkg_Environment.cpp | |
| parent | 2054f964fd6ab4edd0fcf30d56c2de20387d3077 (diff) | |
| download | vcpkg-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.cpp | 2 |
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) |
