diff options
| author | Bo Rydberg <2945606+bolry@users.noreply.github.com> | 2019-03-10 19:05:15 +0100 |
|---|---|---|
| committer | Victor Romero <romerosanchezv@gmail.com> | 2019-03-10 11:05:15 -0700 |
| commit | eafe9ebcdf191ad0fff98c0f060000edb208318d (patch) | |
| tree | dcd772fa4e6404d3f4dcb99dd70577b98456cf87 | |
| parent | b726bf90bf6fe6f246fb9591cfddfe7f32b4b95d (diff) | |
| download | vcpkg-eafe9ebcdf191ad0fff98c0f060000edb208318d.tar.gz vcpkg-eafe9ebcdf191ad0fff98c0f060000edb208318d.zip | |
Fix missing terminator .bashrc integration (#5616)
Add NL to last line in ~/.bashrc file
| -rw-r--r-- | toolsrc/src/vcpkg/commands.integrate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/vcpkg/commands.integrate.cpp b/toolsrc/src/vcpkg/commands.integrate.cpp index c1d3a8c8d..acac3293f 100644 --- a/toolsrc/src/vcpkg/commands.integrate.cpp +++ b/toolsrc/src/vcpkg/commands.integrate.cpp @@ -443,7 +443,7 @@ With a project open, go to Tools->NuGet Package Manager->Package Manager Console System::print("Adding vcpkg completion entry to %s\n", bashrc_path.u8string()); bashrc_content.push_back(Strings::format("source %s", completion_script_path.u8string())); - fs.write_contents(bashrc_path, Strings::join("\n", bashrc_content)); + fs.write_contents(bashrc_path, Strings::join("\n", bashrc_content) + '\n'); Checks::exit_success(VCPKG_LINE_INFO); } #endif |
