diff options
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)); |