From 928718963f32e73b9b6787cc2768437e1c1914ce Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 15 Sep 2021 11:48:23 +0200 Subject: Fix pre-sync'inc of configurations belonging to same cluster --- bdep/publish.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'bdep/publish.cxx') 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& 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)); -- cgit v1.1