revdep-rebuild: Use EMERGE_OPTIONS _after_ EMERGE_DEFAULT_OPTS to allow overwriting, gentoolkit-0.3.0_rc10
authoridl0r <idl0r@gentoo.org>
Thu, 1 Apr 2010 15:03:35 +0000 (15:03 -0000)
committeridl0r <idl0r@gentoo.org>
Thu, 1 Apr 2010 15:03:35 +0000 (15:03 -0000)
bug 307023, thanks to Albert W. Hopkins <marduk@python.net>.

svn path=/trunk/gentoolkit/; revision=765

ChangeLog
bin/revdep-rebuild

index 275b93f0371391914bc075bb18e02161df3d22d3..25573c6fe03bd3b302b9292c0c09d0e7355aa15a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-04-01: Christian Ruppert <idl0r@gentoo.org>
+       * revdep-rebuild: Use EMERGE_OPTIONS _after_ EMERGE_DEFAULT_OPTS,
+       bug 307023, thanks to Albert W. Hopkins <marduk@python.net>.
+
 2010-03-31: Christian Ruppert <idl0r@gentoo.org>
        * epkginfo: Fix epkginfo to handle ambiguous package names.
        * revdep-rebuild: Check if $ERRORS_FILE exist before running gawk on it.
index a4fa0f7aec3c4922931c92baa9816ad9d2c0cf17..b62dc61e8738d88be0d42b47c6a662c477014653 100755 (executable)
@@ -1113,7 +1113,7 @@ rebuild() {
        trap - SIGHUP SIGINT SIGQUIT SIGABRT SIGTERM
 
        einfo 'All prepared. Starting rebuild'
-       echo "emerge --oneshot ${EMERGE_OPTIONS[@]} ${EMERGE_DEFAULT_OPTS} $REBUILD_LIST"
+       echo "emerge --oneshot ${EMERGE_DEFAULT_OPTS} ${EMERGE_OPTIONS[@]} $REBUILD_LIST"
 
        is_real_merge && countdown 10
 
@@ -1122,7 +1122,7 @@ rebuild() {
 
        # Run in background to correctly handle Ctrl-C
        {
-               emerge --oneshot ${EMERGE_OPTIONS[@]} ${EMERGE_DEFAULT_OPTS} $REBUILD_LIST <&6
+               emerge --oneshot ${EMERGE_DEFAULT_OPTS} ${EMERGE_OPTIONS[@]} $REBUILD_LIST <&6
                echo $? > "$STATUS_FILE"
        } &
        wait