aboutsummaryrefslogtreecommitdiff
path: root/bpkg/cfg-create.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/cfg-create.cxx')
-rw-r--r--bpkg/cfg-create.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/bpkg/cfg-create.cxx b/bpkg/cfg-create.cxx
index 7592801..acd6bb9 100644
--- a/bpkg/cfg-create.cxx
+++ b/bpkg/cfg-create.cxx
@@ -87,6 +87,10 @@ namespace bpkg
//
mk (c / bpkg_dir);
+ // Initialize tmp directory.
+ //
+ init_tmp (c);
+
// Create the database.
//
database db (open (c, trace, true));