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.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.
//