diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2016-09-21 12:18:28 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2016-09-21 12:18:28 -0700 |
| commit | ba3c7d3429ddf2e2e00133a5a6a23e195df57951 (patch) | |
| tree | 302eb9142568779be9299afd735c7680e7e4ce52 /toolsrc/src/commands_integration.cpp | |
| parent | 4897b8c1568253a192de5a9fdfe76c5c155d28b8 (diff) | |
| parent | 4abe1d42356f0bc9f78c81210bc3e5a0e2e0ad10 (diff) | |
| download | vcpkg-ba3c7d3429ddf2e2e00133a5a6a23e195df57951.tar.gz vcpkg-ba3c7d3429ddf2e2e00133a5a6a23e195df57951.zip | |
Merge branch 'aybassiouny-master'
Diffstat (limited to 'toolsrc/src/commands_integration.cpp')
| -rw-r--r-- | toolsrc/src/commands_integration.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/commands_integration.cpp b/toolsrc/src/commands_integration.cpp index 0156d5e2a..368ff0581 100644 --- a/toolsrc/src/commands_integration.cpp +++ b/toolsrc/src/commands_integration.cpp @@ -190,7 +190,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 COPY "%s" "%s" /Y > nul)", sys_src_path.string(), system_wide_targets_file.string()); + const std::string param = Strings::format(R"(/c 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) { |
