diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-02-08 11:02:25 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-02-08 11:02:25 +0200 |
commit | 435b3e43dd054a716b3fc67fc34b43267f8e9809 (patch) | |
tree | 8e11ad74f0397feee9ffce064d3c6812c740a832 /libbuild2/dist | |
parent | 90d37f3fe126fa7b3d97fb071f537f910bd4a7fa (diff) |
Enter scope src directories into scope map
Diffstat (limited to 'libbuild2/dist')
-rw-r--r-- | libbuild2/dist/operation.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/dist/operation.cxx b/libbuild2/dist/operation.cxx index 07f3b42..ac76a62 100644 --- a/libbuild2/dist/operation.cxx +++ b/libbuild2/dist/operation.cxx @@ -597,7 +597,7 @@ namespace build2 (rs->out_path () != t.dir && rs->src_path () != t.dir)) fail << "dist meta-operation target must be project root directory"; - if (rs->out_path () == rs->src_path ()) + if (rs->out_eq_src ()) fail << "in-tree distribution of target " << t << info << "distribution requires out-of-tree build"; |