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

(-)revdep-rebuild (-5 / +10 lines)
Lines 527-537 Link Here
527
	else
521
	else
528
		if [ -s "$LLIST.3_rebuild" ] ; then
522
		if [ -s "$LLIST.3_rebuild" ] ; then
529
			set_trap "$LLIST.4_ebuilds"
523
			set_trap "$LLIST.4_ebuilds"
530
			cat $LLIST.3_rebuild | sed 's/^/obj /;s/$/ /' |
524
			cat $LLIST.3_rebuild | sed 's/^/obj /;s/$/ /' > $LLIST.3_rebuild.tmp
531
			(
525
			
532
				cd /var/db/pkg
526
			find /var/db/pkg -name CONTENTS -type f -exec fgrep -l -f $LLIST.3_rebuild.tmp {} \; | sed s:/var/db/pkg/:: | sed s:/CONTENTS:: > $LLIST.4_ebuilds
533
				fgrep -l -f - */*/CONTENTS
527
534
			) | sed s:/CONTENTS:: > $LLIST.4_ebuilds
528
#			cat $LLIST.3_rebuild | sed 's/^/obj /;s/$/ /' |
529
#			(
530
#				cd /var/db/pkg
531
#				fgrep -l -f - */*/CONTENTS
532
#			) | sed s:/CONTENTS:: > $LLIST.4_ebuilds
533
535
			echo -e " done.\n  ($LLIST.4_ebuilds)"
534
			echo -e " done.\n  ($LLIST.4_ebuilds)"
536
		else
535
		else
537
			echo " Nothing to rebuild"
536
			echo " Nothing to rebuild"

Return to bug 118394