mirror of https://github.com/microsoft/vcpkg.git
[vcpkg] fix hint message (#13043)
This commit is contained in:
parent
c3f69d47c8
commit
f6948aeb68
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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 "
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue