06-strip-and-debug-pkgs.sh: remove dirname usage

This commit is contained in:
maxice8 2019-04-13 17:47:05 -03:00 committed by maxice8
parent 372ae10639
commit 5b26fde9c0

View file

@ -7,7 +7,7 @@ make_debug() {
[ -n "$nodebug" ] && return 0
dname=$(echo "$(dirname $1)"|sed -e "s|${PKGDESTDIR}||g")
dname=${1%/*}/ ; dname=${dname#$PKGDESTDIR}
fname="${1##*/}"
dbgfile="${dname}/${fname}"
@ -26,7 +26,7 @@ attach_debug() {
[ -n "$nodebug" ] && return 0
dname=$(echo "$(dirname $1)"|sed -e "s|${PKGDESTDIR}||g")
dname=${1%/*}/ ; dname=${dname#$PKGDESTDIR}
fname="${1##*/}"
dbgfile="${dname}/${fname}"