From 509f522dac555ab8ff1b93945988ab3d33aed465 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sat, 13 Apr 2019 13:48:09 -0300 Subject: 06-shlib-provides.sh: avoid useless use of cat --- common/hooks/pre-pkg/06-shlib-provides.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} -- cgit v1.2.3