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, 5 insertions, 0 deletions
diff --git a/bpkg/cfg-create.cxx b/bpkg/cfg-create.cxx
index 1875c75..08e64b1 100644
--- a/bpkg/cfg-create.cxx
+++ b/bpkg/cfg-create.cxx
@@ -11,6 +11,7 @@
#include <bpkg/types>
#include <bpkg/utility>
+#include <bpkg/database>
#include <bpkg/diagnostics>
using namespace std;
@@ -145,6 +146,10 @@ namespace bpkg
run (args);
}
+ // Create the database.
+ //
+ open (d, true);
+
if (verb)
{
d.complete ();