summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Stubbs <jstubbs@gentoo.org>2005-12-26 23:31:58 +0000
committerJason Stubbs <jstubbs@gentoo.org>2005-12-26 23:31:58 +0000
commit8ea33e32e3be2f0460eaaf9724fc069be081df6a (patch)
tree3ac51ef2818ceb6bd8bf2f84dfd22528df93d039
parent- add splitdebug FEATURE to make.conf.5 (diff)
downloadportage-multirepo-8ea33e32e3be2f0460eaaf9724fc069be081df6a.tar.gz
portage-multirepo-8ea33e32e3be2f0460eaaf9724fc069be081df6a.tar.bz2
portage-multirepo-8ea33e32e3be2f0460eaaf9724fc069be081df6a.zip
Modify portage's settings object rather than the original env.
svn path=/main/trunk/; revision=2485
-rwxr-xr-xbin/emerge5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge
index 8a31affd..99fb2e89 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