diff options
| author | fuzzyray <fuzzyray@gentoo.org> | 2007-09-13 00:17:05 +0000 |
|---|---|---|
| committer | fuzzyray <fuzzyray@gentoo.org> | 2007-09-13 00:17:05 +0000 |
| commit | e336525495cb85d4d0a2676b3b176382a23e8c54 (patch) | |
| tree | 1fe65558955319ec1171e4a38e6abe3001b8b5bb /trunk/src | |
| parent | 6168daf4735ca71cdcea4d47dc7b545f743d609f (diff) | |
| download | gentoolkit-e336525495cb85d4d0a2676b3b176382a23e8c54.tar.gz | |
Correctly handle the case where an ebuild no longer exists for a package (Bug #188918)
svn path=/; revision=435
Diffstat (limited to 'trunk/src')
| -rwxr-xr-x | trunk/src/revdep-rebuild/revdep-rebuild-rewrite | 3 |
1 files changed, 2 insertions, 1 deletions
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 || { |
