Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: bin/
Date: Fri, 28 Sep 2018 20:33:12
Message-Id: 1538166760.5ba7e7b3393c2a942dc528a06d5886b2396bc7f9.mgorny@gentoo
1 commit: 5ba7e7b3393c2a942dc528a06d5886b2396bc7f9
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 20 18:20:25 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 28 20:32:40 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=5ba7e7b3
7
8 ecompress: Run compression in parallel
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11 Reviewed-by: Zac Medico <zmedico <AT> gentoo.org>
12
13 bin/ecompress | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
16 diff --git a/bin/ecompress b/bin/ecompress
17 index 434456f0c..36bdb585b 100755
18 --- a/bin/ecompress
19 +++ b/bin/ecompress
20 @@ -139,8 +139,8 @@ fix_symlinks() {
21 }
22
23 export PORTAGE_COMPRESS PORTAGE_COMPRESS_FLAGS
24 -find "${ED}" -name '*.ecompress' -delete \
25 - -exec "${PORTAGE_BIN_PATH}"/ecompress-file {} +
26 +find "${ED}" -name '*.ecompress' -delete -print0 |
27 + ___parallel_xargs -0 "${PORTAGE_BIN_PATH}"/ecompress-file
28 ret=${?}
29
30 fix_symlinks