diff options
Diffstat (limited to 'bpkg/pkg-purge.cxx')
-rw-r--r-- | bpkg/pkg-purge.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bpkg/pkg-purge.cxx b/bpkg/pkg-purge.cxx index 07951a6..e031b6a 100644 --- a/bpkg/pkg-purge.cxx +++ b/bpkg/pkg-purge.cxx @@ -58,7 +58,7 @@ namespace bpkg { if (!simulate) { - path a (p->archive->absolute () ? *p->archive : c / *p->archive); + path a (p->effective_archive (c)); if (exists (a)) rm (a); @@ -192,7 +192,7 @@ namespace bpkg if (p->purge_archive) { - path a (p->archive->absolute () ? *p->archive : c / *p->archive); + path a (p->effective_archive (c)); if (exists (a)) fail << "archive file of broken package " << n << " still exists" << |