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" |