diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-07-08 10:46:27 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-07-08 10:46:27 +0200 |
commit | fe57a94367c18aa131d2a1a602d702edb2b15627 (patch) | |
tree | 9ce8a38c5a5ca369f1531c4a1f337ce1ccb43d2c | |
parent | 74862e82fa7f6d96394bd1da294a9435239accc6 (diff) |
Fix bug in switch_scope()
-rw-r--r-- | libbuild2/file.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/file.cxx b/libbuild2/file.cxx index f74dcb5..8bffb39 100644 --- a/libbuild2/file.cxx +++ b/libbuild2/file.cxx @@ -437,7 +437,7 @@ namespace build2 { // Path p can be src_base or out_base. Figure out which one it is. // - dir_path out_base (p.sub (rs->out_path ()) ? p : src_out (p, *rs)); + dir_path out_base (p.sub (rs->out_path ()) ? p : out_src (p, *rs)); // Create and bootstrap root scope(s) of subproject(s) that this scope // may belong to. If any were created, load them. Note that we need to |