From: Michael Tremer Date: Wed, 31 Aug 2022 15:23:43 +0000 (+0000) Subject: dist: Pass any source files with their absolute path X-Git-Tag: 0.9.28~352 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28ac84b141a6c19ff0dbfa744b1345d90cdc3a20;p=pakfire.git dist: Pass any source files with their absolute path Signed-off-by: Michael Tremer --- diff --git a/src/libpakfire/dist.c b/src/libpakfire/dist.c index 5d8f3ccb0..54011c79f 100644 --- a/src/libpakfire/dist.c +++ b/src/libpakfire/dist.c @@ -276,7 +276,7 @@ static int pakfire_dist_add_source(struct pakfire* pakfire, struct pakfire_packa return r; } - pakfire_string_format(archive_path, "files/%s", filename); + pakfire_string_format(archive_path, "/files/%s", filename); // Add file to package return pakfire_packager_add(packager, cache_path, archive_path);