From 1c3c3b802014ac6356af09d149aaaffce6c14dc3 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Sun, 30 Sep 2012 14:11:25 +0200 Subject: [PATCH] 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. --- bin/ebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.26.2