Skip to content

Commit

Permalink
[vcpkg] fix hint message (#13043)
Browse files Browse the repository at this point in the history
  • Loading branch information
PhoebeHui authored Aug 21, 2020
1 parent c3f69d4 commit f6948ae
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion toolsrc/src/vcpkg/build.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion toolsrc/src/vcpkg/commands.version.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down
2 changes: 1 addition & 1 deletion toolsrc/src/vcpkg/dependencies.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion toolsrc/src/vcpkg/sourceparagraph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion toolsrc/src/vcpkg/update.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f6948ae

Please sign in to comment.