aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaxice8 <thinkabit.ukim@gmail.com>2019-04-13 16:48:09 +0000
committermaxice8 <30738253+maxice8@users.noreply.github.com>2019-04-15 15:18:00 +0000
commit509f522dac555ab8ff1b93945988ab3d33aed465 (patch)
tree7f99be645bbcc7ca7b12757aa63ee3cc4f5bf848
parentf5c0feedf699c6c8d7bae10b3d9976748fc1526e (diff)
downloadvoid-packages-509f522dac555ab8ff1b93945988ab3d33aed465.tar
void-packages-509f522dac555ab8ff1b93945988ab3d33aed465.tar.gz
void-packages-509f522dac555ab8ff1b93945988ab3d33aed465.tar.bz2
void-packages-509f522dac555ab8ff1b93945988ab3d33aed465.tar.lz
void-packages-509f522dac555ab8ff1b93945988ab3d33aed465.tar.xz
void-packages-509f522dac555ab8ff1b93945988ab3d33aed465.tar.zst
void-packages-509f522dac555ab8ff1b93945988ab3d33aed465.zip
06-shlib-provides.sh: avoid useless use of cat
-rw-r--r--common/hooks/pre-pkg/06-shlib-provides.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/hooks/pre-pkg/06-shlib-provides.sh b/common/hooks/pre-pkg/06-shlib-provides.sh
index 480d614097b..738760d0729 100644
--- a/common/hooks/pre-pkg/06-shlib-provides.sh
+++ b/common/hooks/pre-pkg/06-shlib-provides.sh
@@ -36,7 +36,7 @@ collect_sonames() {
echo "$f" >> ${_tmpfile}
done
if [ -s "${_tmpfile}" ]; then
- cat ${_tmpfile} | tr '\n' ' ' > ${_destdir}/shlib-provides
+ tr '\n' ' ' < "${_tmpfile}" > ${_destdir}/shlib-provides
echo >> ${_destdir}/shlib-provides
fi
rm -f ${_tmpfile}