diff options
author | Mohammad Alsaleh <ce.mohammad.alsaleh@gmail.com> | 2015-10-22 01:27:09 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-10-22 01:40:37 +0200 |
commit | 9809102237f89b73a120250260bf3f68d6bc4ba9 (patch) | |
tree | f92cc793ec6bc0b04bf3506466c8a1903f736afd /scripts | |
parent | e28aff4d87f9456c213359adaf7299a882cdcb04 (diff) | |
download | pacman-9809102237f89b73a120250260bf3f68d6bc4ba9.tar.gz pacman-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>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/makepkg.sh.in | 4 |
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 |