cli: fix --modversion not showing version with versioned query
ci/woodpecker/push/woodpecker Pipeline failed
Details
ci/woodpecker/push/woodpecker Pipeline failed
Details
Fixes #317. Signed-off-by: Xi Ruoyao <xry111@xry111.site>master
parent
5aeb469b81
commit
962a5e96b7
|
@ -306,7 +306,7 @@ apply_modversion(pkgconf_client_t *client, pkgconf_pkg_t *world, void *data, int
|
||||||
pkgconf_dependency_t *dep = world_iter->data;
|
pkgconf_dependency_t *dep = world_iter->data;
|
||||||
pkgconf_pkg_t *pkg = dep->match;
|
pkgconf_pkg_t *pkg = dep->match;
|
||||||
|
|
||||||
if (strcmp(pkg->why, queue_node->package))
|
if (strncmp(pkg->why, queue_node->package, strlen(pkg->why)))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (pkg->version != NULL) {
|
if (pkg->version != NULL) {
|
||||||
|
|
Loading…
Reference in New Issue