bug-4611824: small speed improvement

This commit is contained in:
Rick Farina (Zero_Chaos) 2019-04-12 13:36:17 -04:00
parent 0e484c32ac
commit 21e5291086
No known key found for this signature in database
GPG key ID: A5DD1427DD11F94A

View file

@ -5,7 +5,7 @@ rm -f /tmp/_portage_reinstall_.txt /tmp/badpkg_us.txt /tmp/badpkg.txt
for dir in /etc {/usr,}/{*bin,lib*};
do
fgrep -r _portage_reinstall_ $dir | fgrep -v doebuild >> /tmp/_portage_reinstall_.txt &
grep -Fr '_portage_reinstall_' $dir | grep -Fv 'doebuild' >> /tmp/_portage_reinstall_.txt &
WAITPIDS="$WAITPIDS "$!
done
wait $WAITPIDS