Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: bin/
Date: Sun, 30 Sep 2012 17:31:13
Message-Id: 1349026247.9c40728fefe0c5d7f23821cacd641106d45569ac.zmedico@gentoo
1 commit: 9c40728fefe0c5d7f23821cacd641106d45569ac
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 30 17:30:47 2012 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 30 17:30:47 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=9c40728f
7
8 debug-print: chgrp ${PORTAGE_GRPNAME:-portage}
9
10 This fixes warnings for prefix users (see commits
11 1c3c3b802014ac6356af09d149aaaffce6c14dc3 and
12 6983b1a1dd21f931ba751b727bd1a3c460383840).
13
14 ---
15 bin/ebuild.sh | 4 ++--
16 1 files changed, 2 insertions(+), 2 deletions(-)
17
18 diff --git a/bin/ebuild.sh b/bin/ebuild.sh
19 index b4deb9c..a74a848 100755
20 --- a/bin/ebuild.sh
21 +++ b/bin/ebuild.sh
22 @@ -176,8 +176,8 @@ debug-print() {
23 # default target
24 printf '%s\n' "${@}" >> "${T}/eclass-debug.log"
25 # let the portage user own/write to this file
26 - chgrp portage "${T}/eclass-debug.log" &>/dev/null
27 - chmod g+w "${T}/eclass-debug.log" &>/dev/null
28 + chgrp "${PORTAGE_GRPNAME:-portage}" "${T}/eclass-debug.log"
29 + chmod g+w "${T}/eclass-debug.log"
30 fi
31 }