From 994b63e2b60333a83faba52dc6b044fbdbbad61b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 18 Jan 2018 11:54:08 +0200 Subject: Change remaining auto_rm to auto_rmfile --- bpkg/fetch.cxx | 2 +- bpkg/pkg-fetch.cxx | 2 +- 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. // -- cgit v1.1