Fix revdep-rebuild to use the ORDER_FILE for the final emerge command. Bug 368475
authorPaul Varner <fuzzyray@gentoo.org>
Mon, 23 May 2011 21:28:33 +0000 (16:28 -0500)
committerPaul Varner <fuzzyray@gentoo.org>
Mon, 23 May 2011 21:28:33 +0000 (16:28 -0500)
bin/revdep-rebuild

index 7d8923863a5bc3457b8e195b06558e79b2eb9584..6b584cfbdfe8990c533980173056e85766acc29f 100755 (executable)
@@ -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")