Don't hardcode 8 jobs. Use nproc.
This commit is contained in:
parent
fddecbe751
commit
9dd6042cdd
@ -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 $?
|
||||
|
Loading…
Reference in New Issue
Block a user