[vcpkg] fix hint message
MODIFY
src/vcpkg/build.cpp
src/vcpkg/build.cpp
@@ -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"

MODIFY
src/vcpkg/commands.version.cpp
src/vcpkg/commands.version.cpp
@@ -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 "

MODIFY
src/vcpkg/dependencies.cpp
src/vcpkg/dependencies.cpp
@@ -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(

MODIFY
src/vcpkg/sourceparagraph.cpp
src/vcpkg/sourceparagraph.cpp
@@ -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);
}

MODIFY
src/vcpkg/update.cpp
src/vcpkg/update.cpp
@@ -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"

[vcpkg] fix hint message (#13043)