aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaxice8 <thinkabit.ukim@gmail.com>2019-04-13 16:56:46 +0000
committermaxice8 <30738253+maxice8@users.noreply.github.com>2019-04-15 15:18:00 +0000
commit68733fc673f1f014ca8921ba3c08a3d84103a9b4 (patch)
treefe6c2edcadde14ed42e482cb0d7bdc0805e85542
parent8254bfd6b3314d2197407c484a19c37855071f02 (diff)
downloadvoid-packages-68733fc673f1f014ca8921ba3c08a3d84103a9b4.tar
void-packages-68733fc673f1f014ca8921ba3c08a3d84103a9b4.tar.gz
void-packages-68733fc673f1f014ca8921ba3c08a3d84103a9b4.tar.bz2
void-packages-68733fc673f1f014ca8921ba3c08a3d84103a9b4.tar.lz
void-packages-68733fc673f1f014ca8921ba3c08a3d84103a9b4.tar.xz
void-packages-68733fc673f1f014ca8921ba3c08a3d84103a9b4.tar.zst
void-packages-68733fc673f1f014ca8921ba3c08a3d84103a9b4.zip
99-pkglint.sh: avoid useless use of cat
-rw-r--r--common/hooks/pre-pkg/99-pkglint.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/hooks/pre-pkg/99-pkglint.sh b/common/hooks/pre-pkg/99-pkglint.sh
index 6fdad9c67e1..45a380c3747 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')