fix misuse of 'cat'
authorSimon Stelling <blubb@gentoo.org>
Sun, 16 Apr 2006 17:44:33 +0000 (17:44 -0000)
committerSimon Stelling <blubb@gentoo.org>
Sun, 16 Apr 2006 17:44:33 +0000 (17:44 -0000)
svn path=/main/trunk/; revision=3163

bin/misc-functions.sh

index 473f4e720ae9e3b40226cf87695ae9e4e63bff86..c6776807beb457b257bd04c65793c82dc7a47954 100644 (file)
@@ -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}"