From: Zac Medico Date: Sun, 30 Sep 2012 17:30:47 +0000 (-0700) Subject: debug-print: chgrp ${PORTAGE_GRPNAME:-portage} X-Git-Tag: v2.2.0_alpha135~11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9c40728fefe0c5d7f23821cacd641106d45569ac;p=portage.git debug-print: chgrp ${PORTAGE_GRPNAME:-portage} This fixes warnings for prefix users (see commits 1c3c3b802014ac6356af09d149aaaffce6c14dc3 and 6983b1a1dd21f931ba751b727bd1a3c460383840). --- 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 }