mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 10:59:00 +08:00
Merge pull request #64 from dansarginson/dcs-issue-62
Remove use of wildcard in integration installation dest path.
This commit is contained in:
commit
a1b7756c45
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user