Skip to content

Commit

Permalink
Fix MAINTAINER variable to point to pkg->maintainer
Browse files Browse the repository at this point in the history
  • Loading branch information
gahr authored and bapt committed Nov 30, 2024
1 parent 66e26ae commit 8186d23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libpkg/pkg.c
Original file line number Diff line number Diff line change
Expand Up @@ -1559,7 +1559,7 @@ pkg_message_from_str(struct pkg *pkg, const char *str, size_t len)
ucl_parser_register_variable(parser, "PKGORIGIN", pkg->origin);
}
if (pkg->maintainer != NULL) {
ucl_parser_register_variable(parser, "MAINTAINER", pkg->origin);
ucl_parser_register_variable(parser, "MAINTAINER", pkg->maintainer);
}

if (ucl_parser_add_chunk(parser, (const unsigned char*)str, len)) {
Expand Down

0 comments on commit 8186d23

Please sign in to comment.