commit: 289d9a17dc9d9287e5dcb75f84b38ad0388e5fde Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Thu Sep 20 18:20:25 2018 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu Sep 20 18:48:42 2018 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=289d9a17
ecompress: Run compression in parallel Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> Reviewed-by: Zac Medico <zmedico <AT> gentoo.org> Closes: https://github.com/gentoo/portage/pull/365 bin/ecompress | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/ecompress b/bin/ecompress index 075f4225e..83d97ae6e 100755 --- a/bin/ecompress +++ b/bin/ecompress @@ -136,8 +136,8 @@ fix_symlinks() { } export PORTAGE_COMPRESS PORTAGE_COMPRESS_FLAGS -find "${ED}" -name '*.ecompress' -delete \ - -exec "${PORTAGE_BIN_PATH}"/ecompress-file {} + +find "${ED}" -name '*.ecompress' -delete -print0 | + ___parallel_xargs -0 "${PORTAGE_BIN_PATH}"/ecompress-file ret=${?} fix_symlinks
