Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 109714
Collapse All | Expand All

(-)/usr/bin/revdep-rebuild-orig (-1 / +3 lines)
Lines 325-335 Link Here
325
#fi
325
#fi
326
326
327
# Run in background to correctly handle Ctrl-C
327
# Run in background to correctly handle Ctrl-C
328
exec 6<&0	# Link file descriptor #6 with stdin. (#6 is chosen for no real reason)
328
(
329
(
329
	emerge --oneshot --nodeps $@ $REBUILD_LIST
330
	emerge --oneshot --nodeps $@ $REBUILD_LIST <&6
330
	echo $? >$LLIST.6_status
331
	echo $? >$LLIST.6_status
331
) &
332
) &
332
wait
333
wait
334
exec 0<&6 6<&-	# Now restore stdin from fd #6, where it had been saved, and close fd #6 ( 6<&- ) to free it for other processes to use.
333
335
334
#if $EXACT_EBUILDS ; then
336
#if $EXACT_EBUILDS ; then
335
#	mv -i /usr/portage/profiles/package.mask.hidden /usr/portage/profiles/package.mask
337
#	mv -i /usr/portage/profiles/package.mask.hidden /usr/portage/profiles/package.mask

Return to bug 109714