From: Zac Medico Date: Sat, 28 Apr 2007 19:15:34 +0000 (-0000) Subject: For bug #176384, adjust config according to options of the command being resumed... X-Git-Tag: v2.1.2.6~4 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b0e6865808f3bd0b31a27a710a0617679d83929f;p=portage.git For bug #176384, adjust config according to options of the command being resumed. (trunk r6453:6454) svn path=/main/branches/2.1.2/; revision=6455 --- diff --git a/bin/emerge b/bin/emerge index 0e40a955d..c5c7845a0 100755 --- a/bin/emerge +++ b/bin/emerge @@ -4783,6 +4783,15 @@ def action_build(settings, trees, mtimedb, if myopt not in myresumeopts: myresumeopts[myopt] = myarg myopts=myresumeopts + + # Adjust config according to options of the command being resumed. + for myroot in trees: + mysettings = trees[myroot]["vartree"].settings + mysettings.unlock() + adjust_config(myopts, mysettings) + mysettings.lock() + del myroot, mysettings + myparams = create_depgraph_params(myopts, myaction) if "--quiet" not in myopts and "--nodeps" not in myopts: print "Calculating dependencies ",