projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a10c3d
)
Make quickpkg respect PORTAGE_NICENESS.
author
Zac Medico
<zmedico@gentoo.org>
Thu, 7 Sep 2006 07:05:26 +0000
(07:05 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 7 Sep 2006 07:05:26 +0000
(07:05 -0000)
svn path=/main/trunk/; revision=4424
bin/quickpkg
patch
|
blob
|
history
diff --git
a/bin/quickpkg
b/bin/quickpkg
index e6bf9167b5783efb1d432a07712b079d4e14a164..1153fba8a7011046b7875d513dcaef3af1140335 100755
(executable)
--- a/
bin/quickpkg
+++ b/
bin/quickpkg
@@
-21,6
+21,8
@@
eval $(portageq envvar -v NOCOLOR PKGDIR PORTAGE_BIN_PATH PORTAGE_NICENESS \
PORTAGE_PYM_PATH PORTAGE_TMPDIR ROOT)
export PKGDIR PORTAGE_TMPDIR ROOT
+[ -n "${PORTAGE_NICENESS}" ] && renice $PORTAGE_NICENESS $$ > /dev/null
+
# Make sure the xpak module is in PYTHONPATH
export PYTHONPATH=${PORTAGE_PYM_PATH}
export PORTAGE_DB=$(portageq vdb_path)