diff options
author | Zac Medico <zmedico@gentoo.org> | 2012-09-30 10:30:47 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2012-09-30 10:30:47 -0700 |
commit | 9c40728fefe0c5d7f23821cacd641106d45569ac (patch) | |
tree | 79f0379a445329f080862781e7eb23c41737591e | |
parent | 6983b1a1dd21f931ba751b727bd1a3c460383840 (diff) | |
download | portage-9c40728fefe0c5d7f23821cacd641106d45569ac.tar.gz portage-9c40728fefe0c5d7f23821cacd641106d45569ac.tar.bz2 portage-9c40728fefe0c5d7f23821cacd641106d45569ac.zip |
debug-print: chgrp ${PORTAGE_GRPNAME:-portage}
This fixes warnings for prefix users (see commits
1c3c3b802014ac6356af09d149aaaffce6c14dc3 and
6983b1a1dd21f931ba751b727bd1a3c460383840).
-rwxr-xr-x | bin/ebuild.sh | 4 |
1 files 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 } |