From 68733fc673f1f014ca8921ba3c08a3d84103a9b4 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sat, 13 Apr 2019 13:56:46 -0300 Subject: [PATCH] 99-pkglint.sh: avoid useless use of cat --- common/hooks/pre-pkg/99-pkglint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/hooks/pre-pkg/99-pkglint.sh b/common/hooks/pre-pkg/99-pkglint.sh index 6fdad9c67e..45a380c374 100644 --- a/common/hooks/pre-pkg/99-pkglint.sh +++ b/common/hooks/pre-pkg/99-pkglint.sh @@ -95,7 +95,7 @@ hook() { return 0 fi - for filename in $(cat ${PKGDESTDIR}/shlib-provides); do + for filename in $(<${PKGDESTDIR}/shlib-provides); do rev=${filename#*.so.} libname=${filename%.so*} _shlib=$(echo "$libname"|sed -E 's|\+|\\+|g')