From: Paul Varner Date: Mon, 23 May 2011 21:28:33 +0000 (-0500) Subject: Fix revdep-rebuild to use the ORDER_FILE for the final emerge command. Bug 368475 X-Git-Tag: gentoolkit-0.3.0.4~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=aca55a8d49a4185b8c9e8fe497a1b3f175cac71f;p=gentoolkit.git Fix revdep-rebuild to use the ORDER_FILE for the final emerge command. Bug 368475 --- 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")