diff options
Diffstat (limited to 'bpkg/pkg-purge.cxx')
-rw-r--r-- | bpkg/pkg-purge.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bpkg/pkg-purge.cxx b/bpkg/pkg-purge.cxx index 4fe040e..e031b6a 100644 --- a/bpkg/pkg-purge.cxx +++ b/bpkg/pkg-purge.cxx @@ -50,6 +50,7 @@ namespace bpkg // p->src_root = nullopt; p->manifest_checksum = nullopt; + p->buildfiles_checksum = nullopt; if (archive) { @@ -57,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); @@ -191,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" << |