aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-fetch.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/pkg-fetch.cxx')
-rw-r--r--bpkg/pkg-fetch.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/bpkg/pkg-fetch.cxx b/bpkg/pkg-fetch.cxx
index c2a6644..26f17d2 100644
--- a/bpkg/pkg-fetch.cxx
+++ b/bpkg/pkg-fetch.cxx
@@ -216,7 +216,9 @@ namespace bpkg
text << "fetching " << pl->location.leaf () << " "
<< "from " << pl->repository->name;
- path a (fetch_archive (co, pl->repository->location, pl->location, c));
+ path a (
+ bpkg_fetch_archive (co, pl->repository->location, pl->location, c));
+
auto_rmfile arm (a);
// We can't be fetching an archive for a transient object.