From: Simon Stelling Date: Sun, 16 Apr 2006 17:44:33 +0000 (-0000) Subject: fix misuse of 'cat' X-Git-Tag: v2.1_pre9~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6970122b60ef97f8f807a11f1ed6db22dd3f5852;p=portage.git fix misuse of 'cat' svn path=/main/trunk/; revision=3163 --- diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 473f4e720..c6776807b 100644 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -188,12 +188,12 @@ install_qa_check() { find "${D}"/ -user portage -print0 > "${find_log}" if [[ -s ${find_log} ]] ; then ewarn "QA Notice: Files were installed with user portage!" - cat "${find_log}" | xargs -0 chown -h ${PORTAGE_INST_UID:-0} + xargs -0 chown -h ${PORTAGE_INST_UID:-0} < "${find_log}" fi find "${D}"/ -group portage -print0 > "${find_log}" if [[ -s ${find_log} ]] ; then ewarn "QA Notice: Files were installed with group portage!" - cat "${find_log}" | xargs -0 chgrp -h ${PORTAGE_INST_GID:-0} + xargs -0 chgrp -h ${PORTAGE_INST_GID:-0} < "${find_log}" fi rm -f "${find_log}"