From ab0bfd16f4015e05435c86195736eb11fd5b08ce Mon Sep 17 00:00:00 2001 From: Zero_Chaos Date: Tue, 20 Jan 2015 20:34:33 +0000 Subject: [PATCH] bug-461824.sh: add slot to broken package output so portage rebuilds the right slot on multislot packages such as python --- scripts/bug-461824.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/bug-461824.sh b/scripts/bug-461824.sh index b0f0e57a0..ff13702f0 100755 --- a/scripts/bug-461824.sh +++ b/scripts/bug-461824.sh @@ -19,7 +19,7 @@ if [ -n "$(cat /tmp/urfuct.txt)" ]; then for badhit in $(cat /tmp/urfuct.txt) ; do echo ${badhit} | cut -d":" -f1 >> /tmp/badfiles.txt done - qfile -C -f /tmp/badfiles.txt | cut -d' ' -f1 >> /tmp/badpkg_us.txt + 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