From eafe9ebcdf191ad0fff98c0f060000edb208318d Mon Sep 17 00:00:00 2001 From: Bo Rydberg <2945606+bolry@users.noreply.github.com> Date: Sun, 10 Mar 2019 19:05:15 +0100 Subject: Fix missing terminator .bashrc integration (#5616) Add NL to last line in ~/.bashrc file --- toolsrc/src/vcpkg/commands.integrate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toolsrc/src') 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 -- cgit v1.2.3