From 6c880acb5cc79351bc86375bb736cf93f9592df4 Mon Sep 17 00:00:00 2001 From: Morten Linderud Date: Sun, 19 Dec 2021 18:58:25 +0100 Subject: [PATCH] makepkg: Use pkgbase in pkgdesc for debug packages When trying to identify debug packages among other packages we discovered that it's pkgname used in pkgdesc. Since pkgname can sometimes be an array when building debug packages for a split package, this could potentially include a pkgname that might not make sense depending on the order of the array. This patch simply uses pkgbase as it seems more correct. Signed-off-by: Morten Linderud Signed-off-by: Allan McRae (cherry picked from commit 2fe1ba5d817d1e51188de1b63fcd61e7d7ad173a) --- scripts/makepkg.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index e58edfa1..8d099cd1 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -763,7 +763,7 @@ create_debug_package() { fi done - pkgdesc="Detached debugging symbols for $pkgname" + pkgdesc="Detached debugging symbols for $pkgbase" pkgname=$pkgbase-@DEBUGSUFFIX@ create_package