From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1048152-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3306C138334 for <garchives@archives.gentoo.org>; Thu, 20 Sep 2018 18:49:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 61A45E08BB; Thu, 20 Sep 2018 18:49:31 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 39F46E08BB for <gentoo-commits@lists.gentoo.org>; Thu, 20 Sep 2018 18:49:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 27F76335CF5 for <gentoo-commits@lists.gentoo.org>; Thu, 20 Sep 2018 18:49:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4304E3DF for <gentoo-commits@lists.gentoo.org>; Thu, 20 Sep 2018 18:49:28 +0000 (UTC) From: "Michał Górny" <mgorny@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" <mgorny@gentoo.org> Message-ID: <1537469322.289d9a17dc9d9287e5dcb75f84b38ad0388e5fde.mgorny@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/ecompress X-VCS-Directories: bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 289d9a17dc9d9287e5dcb75f84b38ad0388e5fde X-VCS-Branch: master Date: Thu, 20 Sep 2018 18:49:28 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a4b74e55-f224-4ec0-bfc8-09c499e25e75 X-Archives-Hash: fdad97573cce912bf099273df22c47a9 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