diff options
-rw-r--r-- | bdep/new.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bdep/new.cxx b/bdep/new.cxx index 550acac..d43bfa9 100644 --- a/bdep/new.cxx +++ b/bdep/new.cxx @@ -183,8 +183,12 @@ namespace bdep // if (!o.no_git ()) { + // Use POSIX directory separators here. + // os.open (f = prj / ".gitignore"); - os << "# Compiler/linker output." << endl + os << bdep_dir.string () << '/' << endl + << endl + << "# Compiler/linker output." << endl << "#" << endl << "*.d" << endl << "*.t" << endl |