diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-09-15 11:48:23 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-09-15 11:48:23 +0200 |
commit | 928718963f32e73b9b6787cc2768437e1c1914ce (patch) | |
tree | a630a9b379aab05eabee20a945e446f5d8a2dca0 /bdep/publish.cxx | |
parent | 5268e471d239e6cb00b07a3a4ee6be71284fc28e (diff) |
Fix pre-sync'inc of configurations belonging to same cluster
Diffstat (limited to 'bdep/publish.cxx')
-rw-r--r-- | bdep/publish.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bdep/publish.cxx b/bdep/publish.cxx index 3eb2d04..3034055 100644 --- a/bdep/publish.cxx +++ b/bdep/publish.cxx @@ -1003,8 +1003,7 @@ namespace bdep // Pre-sync the configurations to avoid triggering the build system hook // (see sync for details). // - for (const dir_path& cfg: cfgs) - cmd_sync_implicit (o, cfg); + cmd_sync_implicit (o, cfgs); } else { @@ -1064,8 +1063,7 @@ namespace bdep scs.push_back (move (pc)); } - for (const shared_ptr<configuration>& c: scs) - cmd_sync (o, prj, c, true /* implicit */); + cmd_sync (o, prj, scs, true /* implicit */); } return cmd_publish (o, prj, move (pkgs), move (dist_dirs)); |