aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bpkg/fetch.cxx2
-rw-r--r--bpkg/pkg-fetch.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/bpkg/fetch.cxx b/bpkg/fetch.cxx
index 7389c75..5464c4a 100644
--- a/bpkg/fetch.cxx
+++ b/bpkg/fetch.cxx
@@ -558,7 +558,7 @@ namespace bpkg
if (exists (r))
fail << "file " << r << " already exists";
- auto_rm arm (r);
+ auto_rmfile arm (r);
process pr (start (o, u.string (), r));
if (!pr.wait ())
diff --git a/bpkg/pkg-fetch.cxx b/bpkg/pkg-fetch.cxx
index 114a55d..c2a6644 100644
--- a/bpkg/pkg-fetch.cxx
+++ b/bpkg/pkg-fetch.cxx
@@ -217,7 +217,7 @@ namespace bpkg
<< "from " << pl->repository->name;
path a (fetch_archive (co, pl->repository->location, pl->location, c));
- auto_rm arm (a);
+ auto_rmfile arm (a);
// We can't be fetching an archive for a transient object.
//