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 DB946138010 for ; Sun, 30 Sep 2012 17:31:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D7B9DE032F; Sun, 30 Sep 2012 17:31:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id A6CA2E032F for ; Sun, 30 Sep 2012 17:31:05 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 16CC133C206 for ; Sun, 30 Sep 2012 17:31:05 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id D0147E5441 for ; Sun, 30 Sep 2012 17:31:03 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1349026247.9c40728fefe0c5d7f23821cacd641106d45569ac.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/ebuild.sh X-VCS-Directories: bin/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 9c40728fefe0c5d7f23821cacd641106d45569ac X-VCS-Branch: master Date: Sun, 30 Sep 2012 17:31:03 +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: 3f6e811f-36c8-4af5-933f-d5b2aa836d4a X-Archives-Hash: a88daeab41595a77f9b8adc9267e511b commit: 9c40728fefe0c5d7f23821cacd641106d45569ac Author: Zac Medico gentoo org> AuthorDate: Sun Sep 30 17:30:47 2012 +0000 Commit: Zac Medico gentoo org> CommitDate: Sun Sep 30 17:30:47 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=9c40728f debug-print: chgrp ${PORTAGE_GRPNAME:-portage} This fixes warnings for prefix users (see commits 1c3c3b802014ac6356af09d149aaaffce6c14dc3 and 6983b1a1dd21f931ba751b727bd1a3c460383840). --- bin/ebuild.sh | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/ebuild.sh b/bin/ebuild.sh index b4deb9c..a74a848 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -176,8 +176,8 @@ debug-print() { # default target printf '%s\n' "${@}" >> "${T}/eclass-debug.log" # let the portage user own/write to this file - chgrp portage "${T}/eclass-debug.log" &>/dev/null - chmod g+w "${T}/eclass-debug.log" &>/dev/null + chgrp "${PORTAGE_GRPNAME:-portage}" "${T}/eclass-debug.log" + chmod g+w "${T}/eclass-debug.log" fi }