2007-09-12: Paul Varner <fuzzyray@gentoo.org>
* eclean: Fix processing of the long arguments to work correctly. (Bug
#192345)
+ * revdep-rebuild: Correctly handle the case where an ebuild no longer
+ exists for a package (Bug #188918)
2007-08-08: Paul Varner <fuzzyray@gentoo.org>
* revdep-rebuild: Fix progress bar to only update when there is a
RAW_REBUILD_LIST=$(<"$LIST.4_ebuilds")
if [[ $RAW_REBUILD_LIST ]]; then
export EMERGE_DEFAULT_OPTS="--nospinner --pretend --oneshot --quiet"
- RAW_REBUILD_LIST="=${RAW_REBUILD_LIST//[[:space:]]/ =}"
+ RAW_REBUILD_LIST=($RAW_REBUILD_LIST)
+ RAW_REBUILD_LIST="${RAW_REBUILD_LIST[@]/#/=}"
REBUILD_GREP=$(emerge --nodeps $RAW_REBUILD_LIST | sed 's/\[[^]]*\]//g') &&
emerge --deep $RAW_REBUILD_LIST | sed 's/\[[^]]*\]//g' |
grep -F "$REBUILD_GREP" > $LIST.5_order || {