From: Fabian Groffen Date: Sun, 30 Sep 2012 12:11:25 +0000 (+0200) Subject: debug-print: use PORTAGE_GROUP iso hardcoded portage X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1c3c3b802014ac6356af09d149aaaffce6c14dc3;p=portage.git debug-print: use PORTAGE_GROUP iso hardcoded portage With the new chown wrapper we get spammed to death by each and every ebuild due to us chgrp-ing to a non-existant group. Use the once determined for Portage at configure time instead. --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index d4dde0591..9df77ee6d 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -176,7 +176,7 @@ 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 + chgrp ${PORTAGE_GROUP} "${T}/eclass-debug.log" &>/dev/null chmod g+w "${T}/eclass-debug.log" &>/dev/null fi }