summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohammad Alsaleh <ce.mohammad.alsaleh@gmail.com>2015-10-22 02:27:09 +0300
committerAllan McRae <allan@archlinux.org>2015-10-22 09:40:37 +1000
commit9809102237f89b73a120250260bf3f68d6bc4ba9 (patch)
treef92cc793ec6bc0b04bf3506466c8a1903f736afd
parente28aff4d87f9456c213359adaf7299a882cdcb04 (diff)
downloadpacman-9809102237f89b73a120250260bf3f68d6bc4ba9.tar.xz
makepkg: Fix hard-coded debug suffix
Signed-off-by: Mohammad Alsaleh <CE.Mohammad.AlSaleh@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--scripts/makepkg.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index cf6a6dc9..abc80dd6 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -1411,8 +1411,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