summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-05-10 00:31:53 +0000
committerZac Medico <zmedico@gentoo.org>2006-05-10 00:31:53 +0000
commit2e9479de7944a562127ab1701ac28c0af36955d4 (patch)
tree7fcc798f79378f3c1e12719be4df1e7b80ef7c96
parente4080cff5669904816ee310a9f0bb1196e7569b1 (diff)
downloadportage-2e9479de7944a562127ab1701ac28c0af36955d4.tar.gz
portage-2e9479de7944a562127ab1701ac28c0af36955d4.tar.bz2
portage-2e9479de7944a562127ab1701ac28c0af36955d4.zip
Only adjust priority for PORTAGE_NICENESS on the first run for bug #132739.
svn path=/main/trunk/; revision=3336
-rwxr-xr-xbin/emerge2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/emerge b/bin/emerge
index 9cb7aa3c0..bec978341 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -2095,6 +2095,8 @@ class depgraph:
if arg in badlongopts:
continue
mynewargv.append(arg)
+ # priority only needs to be adjusted on the first run
+ os.environ["PORTAGE_NICENESS"] = "0"
os.execv(mynewargv[0], mynewargv)
if ("--pretend" not in myopts) and ("--fetchonly" not in myopts) and ("--fetch-all-uri" not in myopts):