aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Varner <fuzzyray@gentoo.org>2011-05-23 16:28:33 -0500
committerPaul Varner <fuzzyray@gentoo.org>2011-05-23 16:28:33 -0500
commitaca55a8d49a4185b8c9e8fe497a1b3f175cac71f (patch)
tree29a51569cb127e311496dc06dc70eafe03de0573
parentfix the Dependencies.graph_depends() api return value not being correct. (diff)
downloadgentoolkit-aca55a8d49a4185b8c9e8fe497a1b3f175cac71f.tar.gz
gentoolkit-aca55a8d49a4185b8c9e8fe497a1b3f175cac71f.tar.bz2
gentoolkit-aca55a8d49a4185b8c9e8fe497a1b3f175cac71f.zip
Fix revdep-rebuild to use the ORDER_FILE for the final emerge command. Bug 368475
-rwxr-xr-xbin/revdep-rebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/revdep-rebuild b/bin/revdep-rebuild
index 7d89238..6b584cf 100755
--- a/bin/revdep-rebuild
+++ b/bin/revdep-rebuild
@@ -1111,8 +1111,8 @@ setup_search_paths_and_masks() {
##
# Rebuild packages owning broken binaries
rebuild() {
- if [[ -r $LIST.5_order && -s $LIST.5_order ]]; then
- REBUILD_LIST=( $(<"$LIST.5_order") )
+ if [[ -r $ORDER_FILE && -s $ORDER_FILE ]]; then
+ REBUILD_LIST=( $(<"$ORDER_FILE") )
REBUILD_LIST="${REBUILD_LIST[@]/#/=}"
else
REBUILD_LIST=$(sort -u "$EBUILDS_FILE")