00-compress-info-files.sh: remove dirname usage

This commit is contained in:
maxice8 2019-04-13 17:44:30 -03:00 committed by maxice8
parent c5b6940949
commit 974f2805f2

View file

@ -30,7 +30,7 @@ hook() {
continue
fi
if [ -h ${PKGDESTDIR}/"$j" ]; then
dirat=$(dirname "$j")
dirat="${j%/*}/"
lnkat=$(readlink ${PKGDESTDIR}/"$j")
newlnk="${j##*/}"
rm -f ${PKGDESTDIR}/"$j"