aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_create.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-03-10 17:03:47 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2017-03-10 17:04:29 -0800
commitea52c29e9af701c4a2e070f836bb1ffb7e092760 (patch)
treeb37d27fbffdcfa78646c1c07c7b70486428b9cd3 /toolsrc/src/commands_create.cpp
parentc59ac4e344fb96b0ab09189345519d7cf237577c (diff)
downloadvcpkg-ea52c29e9af701c4a2e070f836bb1ffb7e092760.tar.gz
vcpkg-ea52c29e9af701c4a2e070f836bb1ffb7e092760.zip
Use System::cmd_execute_clean() for `build`, `create`, `portsdiff`
Diffstat (limited to 'toolsrc/src/commands_create.cpp')
-rw-r--r--toolsrc/src/commands_create.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/toolsrc/src/commands_create.cpp b/toolsrc/src/commands_create.cpp
index fc795c621..b74693ed5 100644
--- a/toolsrc/src/commands_create.cpp
+++ b/toolsrc/src/commands_create.cpp
@@ -30,12 +30,12 @@ namespace vcpkg::Commands::Create
{
const std::string& zip_file_name = args.command_arguments.at(2);
Checks::check_exit(!Files::has_invalid_chars_for_filesystem(zip_file_name),
- R"(Filename cannot contain invalid chars %s, but was %s)",
- Files::FILESYSTEM_INVALID_CHARACTERS, zip_file_name);
+ R"(Filename cannot contain invalid chars %s, but was %s)",
+ Files::FILESYSTEM_INVALID_CHARACTERS, zip_file_name);
cmake_args.push_back({ L"FILENAME", zip_file_name });
}
const std::wstring cmd_launch_cmake = make_cmake_cmd(cmake_exe, paths.ports_cmake, cmake_args);
- exit(System::cmd_execute(cmd_launch_cmake));
+ exit(System::cmd_execute_clean(cmd_launch_cmake));
}
}