[pacman-dev] [PATCH] makepkg: Fix hard-coded debug suffix
Mohammad Alsaleh
ce.mohammad.alsaleh at gmail.com
Wed Oct 21 23:27:09 UTC 2015
Signed-off-by: Mohammad Alsaleh <CE.Mohammad.AlSaleh at 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}- at DEBUGSUFFIX@-${fullver}-${pkgarch}${PKGEXT}" ]]; then
+ pkglist+=("$PKGDEST/${pkg}- at DEBUGSUFFIX@-${fullver}-${pkgarch}${PKGEXT}")
fi
done
--
2.6.1
More information about the pacman-dev
mailing list