From 8186d2372d65963b6821321e52e8e2390670c5a8 Mon Sep 17 00:00:00 2001 From: Pietro Cerutti Date: Fri, 29 Nov 2024 15:40:07 +0100 Subject: [PATCH] Fix MAINTAINER variable to point to pkg->maintainer --- libpkg/pkg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpkg/pkg.c b/libpkg/pkg.c index e55730e2d..9d3224a38 100644 --- a/libpkg/pkg.c +++ b/libpkg/pkg.c @@ -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)) {