* [gentoo-portage-dev] [PATCH v2 2/4] ecompress: Run compression in parallel
@ 2018-09-28 19:51 99% ` Michał Górny
0 siblings, 0 replies; 1+ results
From: Michał Górny @ 2018-09-28 19:51 UTC (permalink / raw
To: gentoo-portage-dev; +Cc: Michał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Reviewed-by: Zac Medico <zmedico@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 434456f0c..36bdb585b 100755
--- a/bin/ecompress
+++ b/bin/ecompress
@@ -139,8 +139,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
--
2.19.0
^ permalink raw reply related [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2018-09-28 19:51 [gentoo-portage-dev] [PATCH v2 1/4] Revert "ecompress-file: de-duplicate filtered_args (bug 667072)" Michał Górny
2018-09-28 19:51 99% ` [gentoo-portage-dev] [PATCH v2 2/4] ecompress: Run compression in parallel Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox