diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-07-30 11:38:44 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-07-30 11:38:44 +0200 |
commit | e3004011bbab5b0e031804465a0c340c7102be6d (patch) | |
tree | 88eacbb174a93258d5fd3b4cddebd9f6a682180b | |
parent | b3f6553294bf6455f6fbee542f6481436f62a460 (diff) |
Fix missing src_root initialization
-rw-r--r-- | build2/file.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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. // |