Don't hardcode 8 jobs. Use nproc.

This commit is contained in:
Jason A. Donenfeld 2015-08-17 14:08:03 +02:00
parent fddecbe751
commit 9dd6042cdd
1 changed files with 1 additions and 1 deletions

View File

@ -6,5 +6,5 @@ source /etc/portage/util-functions.sh
ebegin "Syncing metadata cache"
rsync -avP rsync://rsync.gentoo.org/gentoo-portage/metadata/md5-cache/ "${PORTDIR}"/metadata/md5-cache/
egencache --jobs=8 --repo=gentoo --update --update-use-local-desc
egencache --jobs=$(nproc) --repo=gentoo --update --update-use-local-desc
eend $?