aboutsummaryrefslogtreecommitdiff
path: root/bdep/sync.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bdep/sync.cxx')
-rw-r--r--bdep/sync.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/bdep/sync.cxx b/bdep/sync.cxx
index 1620555..ff37925 100644
--- a/bdep/sync.cxx
+++ b/bdep/sync.cxx
@@ -656,6 +656,10 @@ namespace bdep
!dep_pkgs.empty () /* ignore_packages */,
false /* load_packages */));
+ // Initialize tmp directory.
+ //
+ init_tmp (pp.project);
+
// Load project configurations.
//
{
@@ -713,6 +717,10 @@ namespace bdep
if (cfgs.empty ())
return 0; // All configuration are already (being) synchronized.
+
+ // Initialize tmp directory.
+ //
+ init_tmp (empty_dir_path);
}
// Synchronize each configuration.