diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-04-28 19:15:34 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-04-28 19:15:34 +0000 |
commit | b0e6865808f3bd0b31a27a710a0617679d83929f (patch) | |
tree | 79352502205d13763f19a104e5f5b10609cccd97 | |
parent | ec8815c7bccdd10978bb875623e0d23611efb017 (diff) | |
download | portage-b0e6865808f3bd0b31a27a710a0617679d83929f.tar.gz portage-b0e6865808f3bd0b31a27a710a0617679d83929f.tar.bz2 portage-b0e6865808f3bd0b31a27a710a0617679d83929f.zip |
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
-rwxr-xr-x | bin/emerge | 9 |
1 files changed, 9 insertions, 0 deletions
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 ", |