diff options
Diffstat (limited to 'bpkg/pkg-unpack.cxx')
-rw-r--r-- | bpkg/pkg-unpack.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bpkg/pkg-unpack.cxx b/bpkg/pkg-unpack.cxx index 5fc5f0b..b6decca 100644 --- a/bpkg/pkg-unpack.cxx +++ b/bpkg/pkg-unpack.cxx @@ -57,12 +57,14 @@ namespace bpkg if (ad.sub (ac)) ad = ad.leaf (ac); - // Add the package to the configuration. + // Add the package to the configuration. Use the special root + // repository as the repository of this package. // shared_ptr<package> p (new package { move (m.name), move (m.version), state::unpacked, + repository_location (), nullopt, // No archive false, // Don't purge archive. move (ad), |