aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-fetch.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-09-17 14:05:22 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-09-17 14:05:22 +0200
commit7221a63204a0b2a89e1c72fcbf9f2a7de0a575a3 (patch)
treecfd02eebc09b6700441d252513f692d1a67ed34f /bpkg/pkg-fetch.cxx
parent299c4e373d2c2642a8e4c3537eb0436c5a6b9c09 (diff)
Implement pkg-{configure, disfigure} commands
Diffstat (limited to 'bpkg/pkg-fetch.cxx')
-rw-r--r--bpkg/pkg-fetch.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/bpkg/pkg-fetch.cxx b/bpkg/pkg-fetch.cxx
index 9d4efaa..063f0d5 100644
--- a/bpkg/pkg-fetch.cxx
+++ b/bpkg/pkg-fetch.cxx
@@ -13,9 +13,10 @@
#include <bpkg/package-odb>
#include <bpkg/utility>
#include <bpkg/database>
-#include <bpkg/pkg-verify>
#include <bpkg/diagnostics>
+#include <bpkg/pkg-verify>
+
using namespace std;
using namespace butl;
@@ -109,7 +110,9 @@ namespace bpkg
move (a),
purge,
optional<dir_path> (), // No source directory yet.
- false});
+ false,
+ optional<dir_path> () // No output directory yet.
+ });
db.persist (p);
t.commit ();