diff options
author | maxice8 <thinkabit.ukim@gmail.com> | 2019-04-13 16:48:09 +0000 |
---|---|---|
committer | maxice8 <30738253+maxice8@users.noreply.github.com> | 2019-04-15 15:18:00 +0000 |
commit | 509f522dac555ab8ff1b93945988ab3d33aed465 (patch) | |
tree | 7f99be645bbcc7ca7b12757aa63ee3cc4f5bf848 | |
parent | f5c0feedf699c6c8d7bae10b3d9976748fc1526e (diff) | |
download | void-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.sh | 2 |
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} |