bug-461824.sh: prevent hitting on portage, portage is what generates the wierd path so we will always see them there

This commit is contained in:
Zero_Chaos 2015-07-09 17:39:19 +00:00
parent 06228d21b3
commit cc8b7f02ef

View file

@ -21,6 +21,9 @@ if [ -n "$(cat /tmp/urfuct.txt)" ]; then
done
qfile -S -C -f /tmp/badfiles.txt | cut -d' ' -f1 >> /tmp/badpkg_us.txt
cat /tmp/badpkg_us.txt | sort -u > /tmp/badpkg.txt
emerge -1 --buildpkg=y --nodeps $(cat /tmp/badpkg.txt)
rm -f /tmp/urfuct.txt /tmp/badfiles.txt /tmp/badpkg_us.txt /tmp/badpkg.txt
cat /tmp/badpkg.txt | grep -v portage > /tmp/badpkg.txt
if [ -n "$(cat /tmp/badpkg.txt)" ]; then
emerge -1 --buildpkg=y --nodeps $(cat /tmp/badpkg.txt)
fi
rm -f /tmp/urfuct.txt /tmp/badfiles.txt /tmp/badpkg_us.txt /tmp/badpkg.txt
fi