99-pkglint.sh: avoid useless use of cat

This commit is contained in:
maxice8 2019-04-13 13:56:46 -03:00 committed by maxice8
parent 8254bfd6b3
commit 68733fc673

View file

@ -95,7 +95,7 @@ hook() {
return 0 return 0
fi fi
for filename in $(cat ${PKGDESTDIR}/shlib-provides); do for filename in $(<${PKGDESTDIR}/shlib-provides); do
rev=${filename#*.so.} rev=${filename#*.so.}
libname=${filename%.so*} libname=${filename%.so*}
_shlib=$(echo "$libname"|sed -E 's|\+|\\+|g') _shlib=$(echo "$libname"|sed -E 's|\+|\\+|g')