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

(-)revdep-rebuild-rewrite.orig (-1 / +2 lines)
Lines 721-727 Link Here
721
		RAW_REBUILD_LIST=$(<"$LIST.4_ebuilds")
721
		RAW_REBUILD_LIST=$(<"$LIST.4_ebuilds")
722
		if [[ $RAW_REBUILD_LIST ]]; then
722
		if [[ $RAW_REBUILD_LIST ]]; then
723
			export EMERGE_DEFAULT_OPTS="--nospinner --pretend --oneshot --quiet"
723
			export EMERGE_DEFAULT_OPTS="--nospinner --pretend --oneshot --quiet"
724
			RAW_REBUILD_LIST="=${RAW_REBUILD_LIST//[[:space:]]/ =}"
724
			RAW_REBUILD_LIST=($RAW_REBUILD_LIST)
725
			RAW_REBUILD_LIST="${RAW_REBUILD_LIST[@]/#/=}"
725
			REBUILD_GREP=$(emerge --nodeps $RAW_REBUILD_LIST | sed 's/\[[^]]*\]//g') &&
726
			REBUILD_GREP=$(emerge --nodeps $RAW_REBUILD_LIST | sed 's/\[[^]]*\]//g') &&
726
				emerge --deep $RAW_REBUILD_LIST | sed 's/\[[^]]*\]//g' |
727
				emerge --deep $RAW_REBUILD_LIST | sed 's/\[[^]]*\]//g' |
727
				grep -F "$REBUILD_GREP" > $LIST.5_order || {
728
				grep -F "$REBUILD_GREP" > $LIST.5_order || {

Return to bug 188918