From e3004011bbab5b0e031804465a0c340c7102be6d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 30 Jul 2016 11:38:44 +0200 Subject: Fix missing src_root initialization --- build2/file.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'build2/file.cxx') diff --git a/build2/file.cxx b/build2/file.cxx index 2030d1c..155c8e6 100644 --- a/build2/file.cxx +++ b/build2/file.cxx @@ -906,6 +906,8 @@ namespace build2 setup_root (*root); bootstrap_src (*root); } + else if (src_root.empty ()) + src_root = root->src_path (); // Now we know this project's name as well as all its subprojects. // -- cgit v1.1