From fe57a94367c18aa131d2a1a602d702edb2b15627 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 8 Jul 2020 10:46:27 +0200 Subject: Fix bug in switch_scope() --- libbuild2/file.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbuild2') 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 -- cgit v1.1