misc-functions.sh: remove stale NEEDED* files
authorZac Medico <zmedico@gentoo.org>
Thu, 30 Jun 2011 08:53:16 +0000 (01:53 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 30 Jun 2011 08:53:16 +0000 (01:53 -0700)
bin/misc-functions.sh

index 09decf32734967f11ade3404e2132e456e9c3492..d708c1d8eb98ab7cb31098278854f3791bdd573a 100755 (executable)
@@ -340,6 +340,7 @@ install_qa_check() {
                fi
 
                # Save NEEDED information after removing self-contained providers
+               rm -f "$PORTAGE_BUILDDIR"/build-info/NEEDED{,.ELF.2}
                scanelf -qyRF '%a;%p;%S;%r;%n' "${D}" | { while IFS= read -r l; do
                        arch=${l%%;*}; l=${l#*;}
                        obj="/${l%%;*}"; l=${l#*;}