diff options
author | Jason Stubbs <jstubbs@gentoo.org> | 2005-12-26 23:31:58 +0000 |
---|---|---|
committer | Jason Stubbs <jstubbs@gentoo.org> | 2005-12-26 23:31:58 +0000 |
commit | 8ea33e32e3be2f0460eaaf9724fc069be081df6a (patch) | |
tree | 3ac51ef2818ceb6bd8bf2f84dfd22528df93d039 | |
parent | d84359f85d4ac5b921c94da936438d610b76adcc (diff) | |
download | portage-8ea33e32e3be2f0460eaaf9724fc069be081df6a.tar.gz portage-8ea33e32e3be2f0460eaaf9724fc069be081df6a.tar.bz2 portage-8ea33e32e3be2f0460eaaf9724fc069be081df6a.zip |
Modify portage's settings object rather than the original env.
svn path=/main/trunk/; revision=2485
-rwxr-xr-x | bin/emerge | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge index 8a31affd7..99fb2e894 100755 --- a/bin/emerge +++ b/bin/emerge @@ -326,7 +326,10 @@ if ("--tree" in myopts) and ("--columns" in myopts): if ("--quiet" in myopts): update_spinner = update_quiet_spinner - os.environ["PORTAGE_QUIET"] = "1" + portage.settings.unlock() + portage.settings["PORTAGE_QUIET"]="1" + portage.settings.backup_changes("PORTAGE_QUIET") + portage.settings.lock() # Always create packages if FEATURES=buildpkg # Imply --buildpkg if --buildpkgonly |