[vcpkg] fix hint message (#13043)

This commit is contained in:
Phoebe 2020-08-20 22:44:42 -07:00 committed by GitHub
parent c3f69d47c8
commit f6948aeb68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -1089,7 +1089,7 @@ namespace vcpkg::Build
#if defined(_WIN32)
auto vcpkg_update_cmd = ".\\vcpkg";
#else
auto vcpkg_update_cmd = ".\/vcpkg";
auto vcpkg_update_cmd = "./vcpkg";
#endif
return Strings::format("Please ensure you're using the latest portfiles with `%s update`, then\n"
"submit an issue at https://github.com/Microsoft/vcpkg/issues including:\n"

View File

@ -64,7 +64,7 @@ namespace vcpkg::Commands::Version
#if defined(_WIN32)
auto bootstrap = ".\\bootstrap-vcpkg.bat";
#else
auto bootstrap = ".\/bootstrap-vcpkg.sh";
auto bootstrap = "./bootstrap-vcpkg.sh";
#endif
System::printf(System::Color::warning,
"Warning: Different source is available for vcpkg (%d.%d.%d -> %d.%d.%d). Use "

View File

@ -260,7 +260,7 @@ namespace vcpkg::Dependencies
#if defined(_WIN32)
auto vcpkg_remove_cmd = ".\\vcpkg";
#else
auto vcpkg_remove_cmd = ".\/vcpkg";
auto vcpkg_remove_cmd = "./vcpkg";
#endif
if (!maybe_scfl)
Checks::exit_with_message(

View File

@ -182,7 +182,7 @@ namespace vcpkg
#if defined(_WIN32)
auto bootstrap = ".\\bootstrap-vcpkg.bat";
#else
auto bootstrap = ".\/bootstrap-vcpkg.sh";
auto bootstrap = "./bootstrap-vcpkg.sh";
#endif
System::print2("You may need to update the vcpkg binary; try running %s to update.\n\n", bootstrap);
}

View File

@ -78,7 +78,7 @@ namespace vcpkg::Update
#if defined(_WIN32)
auto vcpkg_cmd = ".\\vcpkg";
#else
auto vcpkg_cmd = ".\/vcpkg";
auto vcpkg_cmd = "./vcpkg";
#endif
System::print2("\n"
"To update these packages and all dependencies, run\n"