From: Zac Medico Date: Thu, 7 Sep 2006 07:05:26 +0000 (-0000) Subject: Make quickpkg respect PORTAGE_NICENESS. X-Git-Tag: v2.1.1~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3c79ceee9860655e4c044fd66def1d7b34595194;p=portage.git Make quickpkg respect PORTAGE_NICENESS. svn path=/main/trunk/; revision=4424 --- diff --git a/bin/quickpkg b/bin/quickpkg index e6bf9167b..1153fba8a 100755 --- 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)