hooks/post-install/strip-debug: repair -dbg subpkg creation.

This commit is contained in:
Juan RP 2014-04-08 17:59:26 +02:00
parent 7ea4955aed
commit f6309d0909
1 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@
make_debug() {
local dname= fname= dbgfile=
[ -n "$disable_debug" ] && return 0
[ -z "$XBPS_DEBUG_PKGS" ] && return 0
dname=$(echo "$(dirname $1)"|sed -e "s|${PKGDESTDIR}||g")
fname="$(basename $1)"
@ -25,7 +25,7 @@ make_debug() {
attach_debug() {
local dname= fname= dbgfile=
[ -n "$disable_debug" ] && return 0
[ -z "$XBPS_DEBUG_PKGS" ] && return 0
dname=$(echo "$(dirname $1)"|sed -e "s|${PKGDESTDIR}||g")
fname="$(basename $1)"
@ -41,7 +41,7 @@ attach_debug() {
create_debug_pkg() {
local _pkgname= _destdir=
[ -n "$disable_debug" ] && return 0
[ -z "$XBPS_DEBUG_PKGS" ] && return 0
[ ! -d "${PKGDESTDIR}/usr/lib/debug" ] && return 0
_pkgname="${pkgname}-dbg-${version}"