Merge pull request #64 from dansarginson/dcs-issue-62

Remove use of wildcard in integration installation dest path.
This commit is contained in:
Robert Schumacher 2016-09-21 19:45:29 -07:00 committed by GitHub
commit a1b7756c45

View File

@ -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)
{