aboutsummaryrefslogtreecommitdiff
path: root/bdep/sync.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-07-18 20:43:41 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-07-27 14:23:07 +0300
commitf283fbea934a1a2bad3fa1df25a82717e6b11aac (patch)
tree6f3180be8ca67a8a7efe6e79c98b0366d0e9c099 /bdep/sync.cxx
parent07fdebdbb02fde71d6e656ddd46b967347417502 (diff)
Implement temp directory facility
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.