aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-01-18 11:54:08 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-01-18 11:54:08 +0200
commit994b63e2b60333a83faba52dc6b044fbdbbad61b (patch)
treecb94be27dee68873dc00a2c5d66a1b2a477a1c71
parentd19e8502520ea589a53b1f173091f869338be37d (diff)
Change remaining auto_rm to auto_rmfile
-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.
//