From 9c40728fefe0c5d7f23821cacd641106d45569ac Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 30 Sep 2012 10:30:47 -0700 Subject: [PATCH] debug-print: chgrp ${PORTAGE_GRPNAME:-portage} This fixes warnings for prefix users (see commits 1c3c3b802014ac6356af09d149aaaffce6c14dc3 and 6983b1a1dd21f931ba751b727bd1a3c460383840). --- bin/ebuild.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/ebuild.sh b/bin/ebuild.sh index b4deb9c99..a74a84851 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 } -- 2.26.2