00-compress-info-files.sh: remove dirname usage
This commit is contained in:
parent
c5b6940949
commit
974f2805f2
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue