aboutsummaryrefslogtreecommitdiff
path: root/bpkg/cfg-create.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-09-03 18:24:08 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-09-04 12:40:57 +0300
commit7bb44980ced46506c10bad333f526b7bc62ea1db (patch)
tree207a14ee727f7237e8fc2b08e47f4de8a97e0b99 /bpkg/cfg-create.cxx
parentbd02eaa1298271ecf8365aa869e93fdcb04fdeb1 (diff)
Add support for multiple temporary directories
Diffstat (limited to 'bpkg/cfg-create.cxx')
-rw-r--r--bpkg/cfg-create.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/bpkg/cfg-create.cxx b/bpkg/cfg-create.cxx
index 8101dc0..29de01c 100644
--- a/bpkg/cfg-create.cxx
+++ b/bpkg/cfg-create.cxx
@@ -165,10 +165,9 @@ namespace bpkg
}
}
- // Initialize tmp directory, unless it is already initialized.
+ // Initialize tmp directory.
//
- if (temp_dir.empty ())
- init_tmp (c);
+ init_tmp (c);
// Create the database.
//