From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 69EFA138D0D for ; Tue, 7 Jul 2015 18:10:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C4D4EE0918; Tue, 7 Jul 2015 18:10:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7CF0FE0918 for ; Tue, 7 Jul 2015 18:10:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 91581340EDA for ; Tue, 7 Jul 2015 18:10:47 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 70ACD756 for ; Tue, 7 Jul 2015 18:10:43 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: <1436292591.0dc7b2a3923508896cf217f325b8339d73353553.dolsen@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/phase-helpers.sh X-VCS-Directories: bin/ X-VCS-Committer: dolsen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: 0dc7b2a3923508896cf217f325b8339d73353553 X-VCS-Branch: master Date: Tue, 7 Jul 2015 18:10:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 8f126f50-1623-40f2-bb8a-4749f2b6f9b3 X-Archives-Hash: cbccaf2541c95cba8f1a4a2889d2a376 commit: 0dc7b2a3923508896cf217f325b8339d73353553 Author: Michael Haubenwallner gentoo org> AuthorDate: Tue Jul 7 12:12:33 2015 +0000 Commit: Brian Dolbec gentoo org> CommitDate: Tue Jul 7 18:09:51 2015 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=0dc7b2a3 unpack: avoid useless chmods to improve speed X-Gentoo-Bug: 554084 X-Gentoo-Bug-url: https://bugs.gentoo.org/show_bug.cgi?id=554084 Signed-off-by: Brian Dolbec gentoo.org> bin/phase-helpers.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/phase-helpers.sh b/bin/phase-helpers.sh index efd2cfa..b446060 100644 --- a/bin/phase-helpers.sh +++ b/bin/phase-helpers.sh @@ -531,8 +531,8 @@ unpack() { done # Do not chmod '.' since it's probably ${WORKDIR} and PORTAGE_WORKDIR_MODE # should be preserved. - find . -mindepth 1 -maxdepth 1 ! -type l -print0 | \ - ${XARGS} -0 chmod -fR a+rX,u+w,g-w,o-w + find . -mindepth 1 '!' -type l '!' -perm /a+rX,u+w,g-w,o-w \ + -exec chmod -f a+rX,u+w,g-w,o-w '{}' + } econf() {