Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 118394 | Differences between
and this patch

Collapse All | Expand All

(-)gentoolkit-0.2.2_pre3~/src/revdep-rebuild/revdep-rebuild (-5 / +2 lines)
Lines 543-553 Link Here
543
	else
543
	else
544
		if [ -s "$LLIST.3_rebuild" ] ; then
544
		if [ -s "$LLIST.3_rebuild" ] ; then
545
			set_trap "$LLIST.4_ebuilds"
545
			set_trap "$LLIST.4_ebuilds"
546
			cat $LLIST.3_rebuild | sed 's/^/obj /;s/$/ /' |
546
			cat $LLIST.3_rebuild | sed 's/^/obj /;s/$/ /' > $LLIST.3_rebuild.tmp
547
			(
547
			find /var/db/pkg -name CONTENTS -type f -exec fgrep "$(cat $LLIST.3_rebuild.tmp)" -l '{}' \; | sed s:/var/db/pkg/:: | sed s:/CONTENTS:: > $LLIST.4_ebuilds
548
				cd /var/db/pkg
549
				fgrep -l -f - */*/CONTENTS
550
			) | sed s:/CONTENTS:: > $LLIST.4_ebuilds
551
			echo -e " done.\n  ($LLIST.4_ebuilds)"
548
			echo -e " done.\n  ($LLIST.4_ebuilds)"
552
		else
549
		else
553
			echo " Nothing to rebuild"
550
			echo " Nothing to rebuild"

Return to bug 118394