diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-03-19 15:38:34 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-03-19 15:38:34 +0200 |
commit | e94354ceef93f45b0a95f35eee62750876ec936b (patch) | |
tree | 11b454f999e4d7b873eb9be772a7c014fc522e00 /libbuild2/bash | |
parent | 14b8aa90926bdc7233caa926d81984c6593e1f76 (diff) |
Redo entering of src directories into scope_map
Diffstat (limited to 'libbuild2/bash')
-rw-r--r-- | libbuild2/bash/rule.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/bash/rule.cxx b/libbuild2/bash/rule.cxx index 8b47fb0..d378227 100644 --- a/libbuild2/bash/rule.cxx +++ b/libbuild2/bash/rule.cxx @@ -278,7 +278,7 @@ namespace build2 continue; } - if (const scope* rs = t.ctx.scopes.find (b->dir).root_scope ()) + if (const scope* rs = b->base_scope ().root_scope ()) { const dir_path& d (pp.sub (rs->src_path ()) ? rs->src_path () |