diff options
Diffstat (limited to 'bpkg/fetch-pkg.cxx')
-rw-r--r-- | bpkg/fetch-pkg.cxx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/bpkg/fetch-pkg.cxx b/bpkg/fetch-pkg.cxx index 67ee3a9..81d4131 100644 --- a/bpkg/fetch-pkg.cxx +++ b/bpkg/fetch-pkg.cxx @@ -24,7 +24,11 @@ namespace bpkg bool ignore_unknown) { string url (u.string ()); - process pr (start_fetch (o, url)); + process pr (start_fetch (o, + url, + path () /* out */, + string () /* user_agent */, + o.pkg_proxy ())); try { @@ -94,7 +98,11 @@ namespace bpkg fail << "file " << df << " already exists"; auto_rmfile arm (df); - process pr (start_fetch (o, u.string (), df)); + process pr (start_fetch (o, + u.string (), + df, + string () /* user_agent */, + o.pkg_proxy ())); if (!pr.wait ()) { |