From: Zac Medico Date: Sat, 28 Apr 2007 19:14:41 +0000 (-0000) Subject: For bug #176384, adjust config according to options of the command being resumed. X-Git-Tag: v2.2_pre1~1466 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=1f9baeb7bef4c68a25a5e79fe47471196bf7585e;p=portage.git For bug #176384, adjust config according to options of the command being resumed. svn path=/main/trunk/; revision=6454 --- diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py index 7ca5ece18..ed086fb74 100644 --- a/pym/emerge/__init__.py +++ b/pym/emerge/__init__.py @@ -4868,6 +4868,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 ",