From 9c0dc1f4957420688cf2c1afe79fa2f53f2a6abf Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 5 Sep 2018 00:00:14 +0300 Subject: Create .buildignore file in testscript root working directory --- build2/parser.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build2/parser.cxx') diff --git a/build2/parser.cxx b/build2/parser.cxx index c6b6b45..3c8e3ac 100644 --- a/build2/parser.cxx +++ b/build2/parser.cxx @@ -17,6 +17,7 @@ #include #include #include +#include #include #include @@ -3028,7 +3029,7 @@ namespace build2 // const string& s (m.string ()); if ((p[0] != '.' && s[path::traits::find_leaf (s)] == '.') || - (m.to_directory () && file_exists (*sp / m / ".buildignore"))) + (m.to_directory () && exists (*sp / m / buildignore))) return !interm; // Note that we have to make copies of the extension since there will -- cgit v1.1