00-compress-info-files.sh: remove dirname usage
This commit is contained in:
parent
c5b6940949
commit
974f2805f2
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ hook() {
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
if [ -h ${PKGDESTDIR}/"$j" ]; then
|
if [ -h ${PKGDESTDIR}/"$j" ]; then
|
||||||
dirat=$(dirname "$j")
|
dirat="${j%/*}/"
|
||||||
lnkat=$(readlink ${PKGDESTDIR}/"$j")
|
lnkat=$(readlink ${PKGDESTDIR}/"$j")
|
||||||
newlnk="${j##*/}"
|
newlnk="${j##*/}"
|
||||||
rm -f ${PKGDESTDIR}/"$j"
|
rm -f ${PKGDESTDIR}/"$j"
|
||||||
|
|
Loading…
Reference in a new issue