diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-09-07 07:05:26 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-09-07 07:05:26 +0000 |
commit | 3c79ceee9860655e4c044fd66def1d7b34595194 (patch) | |
tree | e0d919431f82f445aee77f77f6f66964f1f7e5c3 | |
parent | 5a10c3d351dbd92668d88afa9bd4bac24490b45d (diff) | |
download | portage-3c79ceee9860655e4c044fd66def1d7b34595194.tar.gz portage-3c79ceee9860655e4c044fd66def1d7b34595194.tar.bz2 portage-3c79ceee9860655e4c044fd66def1d7b34595194.zip |
Make quickpkg respect PORTAGE_NICENESS.
svn path=/main/trunk/; revision=4424
-rwxr-xr-x | bin/quickpkg | 2 |
1 files changed, 2 insertions, 0 deletions
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) |