aboutsummaryrefslogtreecommitdiff
path: root/bpkg/cfg-create.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-01-16 09:34:47 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-01-16 09:34:47 +0200
commite2d59d4a05b7624570c6398b3a6d095138d0d241 (patch)
tree4e5d1fbe19c09bbf0ac1dd933ad3543cfed40fba /bpkg/cfg-create.cxx
parent2862f91f6016bd07fd9adc0a0f518258a32aa274 (diff)
Implement temp directory facility
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));