diff options
-rw-r--r-- | bpkg/pkg-build.cxx | 2 | ||||
-rw-r--r-- | doc/manual.cli | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/bpkg/pkg-build.cxx b/bpkg/pkg-build.cxx index db8dafb..4466e76 100644 --- a/bpkg/pkg-build.cxx +++ b/bpkg/pkg-build.cxx @@ -2724,7 +2724,7 @@ namespace bpkg j != deps.end (); ++j) { - if (j->name == nm && (i->db == nullptr || *i->db == db)) + if (j->name == nm && (j->db == nullptr || *j->db == db)) { if (i == deps.end () || i->db == nullptr) i = j; diff --git a/doc/manual.cli b/doc/manual.cli index 6a7e6b4..cbca17d 100644 --- a/doc/manual.cli +++ b/doc/manual.cli @@ -614,9 +614,9 @@ license: <licenses> [; <comment>] [depends]: [?][*] <alternatives> [; <comment>] [requires]: [?] [<alternatives>] [; <comment>] -[tests]: <name> [<version-constraint>] -[examples]: <name> [<version-constraint>] -[benchmarks]: <name> [<version-constraint>] +[tests]: [*] <name> [<version-constraint>] +[examples]: [*] <name> [<version-constraint>] +[benchmarks]: [*] <name> [<version-constraint>] [builds]: <class-expr> [; <comment>] [build-include]: <config>[/<target>] [; <comment>] |