aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_integration.cpp
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2016-09-21 19:45:29 -0700
committerGitHub <noreply@github.com>2016-09-21 19:45:29 -0700
commita1b7756c456137b0a9c169a4be03170da81cd5d7 (patch)
treeca4b5099d04e56d739dfbd24220035da4182838f /toolsrc/src/commands_integration.cpp
parent81d64262983b9f47d61ec184d029184616d52f34 (diff)
parenta1d9468e6d2ac35e6195cf2a111212c4adc865a1 (diff)
downloadvcpkg-a1b7756c456137b0a9c169a4be03170da81cd5d7.tar.gz
vcpkg-a1b7756c456137b0a9c169a4be03170da81cd5d7.zip
Merge pull request #64 from dansarginson/dcs-issue-62
Remove use of wildcard in integration installation dest path.
Diffstat (limited to 'toolsrc/src/commands_integration.cpp')
-rw-r--r--toolsrc/src/commands_integration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/commands_integration.cpp b/toolsrc/src/commands_integration.cpp
index 178d40e83..4f3fdd20b 100644
--- a/toolsrc/src/commands_integration.cpp
+++ b/toolsrc/src/commands_integration.cpp
@@ -195,7 +195,7 @@ namespace vcpkg
const fs::path sys_src_path = tmp_dir / "vcpkg.system.targets";
std::ofstream(sys_src_path) << create_system_targets_shortcut();
- const std::string param = Strings::format(R"(/c XCOPY "%s" "%s*" /Y > nul)", sys_src_path.string(), system_wide_targets_file.string());
+ const std::string param = Strings::format(R"(/c echo f | XCOPY "%s" "%s" /Y > nul)", sys_src_path.string(), system_wide_targets_file.string());
elevation_prompt_user_choice user_choice = elevated_cmd_execute(param);
switch (user_choice)
{