06-shlib-provides.sh: avoid useless use of cat
This commit is contained in:
parent
f5c0feedf6
commit
509f522dac
|
@ -36,7 +36,7 @@ collect_sonames() {
|
||||||
echo "$f" >> ${_tmpfile}
|
echo "$f" >> ${_tmpfile}
|
||||||
done
|
done
|
||||||
if [ -s "${_tmpfile}" ]; then
|
if [ -s "${_tmpfile}" ]; then
|
||||||
cat ${_tmpfile} | tr '\n' ' ' > ${_destdir}/shlib-provides
|
tr '\n' ' ' < "${_tmpfile}" > ${_destdir}/shlib-provides
|
||||||
echo >> ${_destdir}/shlib-provides
|
echo >> ${_destdir}/shlib-provides
|
||||||
fi
|
fi
|
||||||
rm -f ${_tmpfile}
|
rm -f ${_tmpfile}
|
||||||
|
|
Loading…
Reference in New Issue