06-strip-and-debug-pkgs.sh: remove dirname usage
This commit is contained in:
parent
372ae10639
commit
5b26fde9c0
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ make_debug() {
|
||||||
|
|
||||||
[ -n "$nodebug" ] && return 0
|
[ -n "$nodebug" ] && return 0
|
||||||
|
|
||||||
dname=$(echo "$(dirname $1)"|sed -e "s|${PKGDESTDIR}||g")
|
dname=${1%/*}/ ; dname=${dname#$PKGDESTDIR}
|
||||||
fname="${1##*/}"
|
fname="${1##*/}"
|
||||||
dbgfile="${dname}/${fname}"
|
dbgfile="${dname}/${fname}"
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ attach_debug() {
|
||||||
|
|
||||||
[ -n "$nodebug" ] && return 0
|
[ -n "$nodebug" ] && return 0
|
||||||
|
|
||||||
dname=$(echo "$(dirname $1)"|sed -e "s|${PKGDESTDIR}||g")
|
dname=${1%/*}/ ; dname=${dname#$PKGDESTDIR}
|
||||||
fname="${1##*/}"
|
fname="${1##*/}"
|
||||||
dbgfile="${dname}/${fname}"
|
dbgfile="${dname}/${fname}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue