[pacman-dev] [PATCH] makepkg: Fix hard-coded debug suffix
Signed-off-by: Mohammad Alsaleh <CE.Mohammad.AlSaleh@gmail.com> --- scripts/makepkg.sh.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 9907943..e50de33 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -1456,8 +1456,8 @@ install_package() { pkgarch=$(get_pkg_arch $pkg) pkglist+=("$PKGDEST/${pkg}-${fullver}-${pkgarch}${PKGEXT}") - if [[ -f "$PKGDEST/${pkg}-debug-${fullver}-${pkgarch}${PKGEXT}" ]]; then - pkglist+=("$PKGDEST/${pkg}-debug-${fullver}-${pkgarch}${PKGEXT}") + if [[ -f "$PKGDEST/${pkg}-@DEBUGSUFFIX@-${fullver}-${pkgarch}${PKGEXT}" ]]; then + pkglist+=("$PKGDEST/${pkg}-@DEBUGSUFFIX@-${fullver}-${pkgarch}${PKGEXT}") fi done -- 2.6.1
On 22/10/15 09:27, Mohammad Alsaleh wrote:
Signed-off-by: Mohammad Alsaleh <CE.Mohammad.AlSaleh@gmail.com> ---
Ack.
participants (2)
-
Allan McRae
-
Mohammad Alsaleh