diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-02-17 12:20:44 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-02-17 13:05:21 +0300 |
commit | 630874b7ef55277c763671be76a5b238d6699553 (patch) | |
tree | 428d3f0bd84163d22e91602f0b9caefe13932d38 | |
parent | f01eb45f5b61d9396a5d433c8cf1411286af6eba (diff) |
Fix selected_package::external() to check for system package from imaginary repository
-rw-r--r-- | bpkg/package.hxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bpkg/package.hxx b/bpkg/package.hxx index 489f909..ad2b7a8 100644 --- a/bpkg/package.hxx +++ b/bpkg/package.hxx @@ -1144,7 +1144,10 @@ namespace bpkg // pkg-unpack --existing <dir> // - (repository_fragment.empty () && !archive); + // Note that the system package can have no repository associated (see + // imaginary system repository in pkg-build.cxx for details). + // + (repository_fragment.empty () && !archive && !system ()); } // Represent the wildcard version with the "*" string. Represent naturally |