From: fuzzyray Date: Thu, 13 Sep 2007 00:17:05 +0000 (-0000) Subject: Correctly handle the case where an ebuild no longer exists for a package (Bug #188918) X-Git-Tag: gentoolkit-0.2.4.3~78 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e336525495cb85d4d0a2676b3b176382a23e8c54;p=gentoolkit.git Correctly handle the case where an ebuild no longer exists for a package (Bug #188918) svn path=/; revision=435 --- diff --git a/trunk/ChangeLog b/trunk/ChangeLog index 2e174fb..4c939be 100644 --- a/trunk/ChangeLog +++ b/trunk/ChangeLog @@ -1,6 +1,8 @@ 2007-09-12: Paul Varner * 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 * revdep-rebuild: Fix progress bar to only update when there is a diff --git a/trunk/src/revdep-rebuild/revdep-rebuild-rewrite b/trunk/src/revdep-rebuild/revdep-rebuild-rewrite index 9d9aa6a..057670a 100755 --- a/trunk/src/revdep-rebuild/revdep-rebuild-rewrite +++ b/trunk/src/revdep-rebuild/revdep-rebuild-rewrite @@ -721,7 +721,8 @@ get_build_order() { 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 || {