aboutsummaryrefslogtreecommitdiff
path: root/bpkg/rep-remove.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-06-03 21:53:48 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-06-07 13:49:14 +0300
commit00cda575c97494d1b6caf2d05ea8a1f8e848cd8a (patch)
tree19adfe4823b460367b80630c2b43ed553fc391a0 /bpkg/rep-remove.cxx
parentdeecf4971fbc90b472135e30387bc76e9788061b (diff)
Add --keep-temp common option
Diffstat (limited to 'bpkg/rep-remove.cxx')
-rw-r--r--bpkg/rep-remove.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/bpkg/rep-remove.cxx b/bpkg/rep-remove.cxx
index 601d291..26d5725 100644
--- a/bpkg/rep-remove.cxx
+++ b/bpkg/rep-remove.cxx
@@ -131,8 +131,8 @@ namespace bpkg
static void
rmdir (const dir_path& cfg, const dir_path& d)
{
- auto i (temp_dir.find (cfg));
- assert (i != temp_dir.end ());
+ auto i (tmp_dirs.find (cfg));
+ assert (i != tmp_dirs.end ());
dir_path td (i->second / d.leaf ());