1 |
commit: 1c3c3b802014ac6356af09d149aaaffce6c14dc3 |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 30 12:11:25 2012 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 30 12:11:25 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=1c3c3b80 |
7 |
|
8 |
debug-print: use PORTAGE_GROUP iso hardcoded portage |
9 |
|
10 |
With the new chown wrapper we get spammed to death by each and every |
11 |
ebuild due to us chgrp-ing to a non-existant group. Use the once |
12 |
determined for Portage at configure time instead. |
13 |
|
14 |
--- |
15 |
bin/ebuild.sh | 2 +- |
16 |
1 files changed, 1 insertions(+), 1 deletions(-) |
17 |
|
18 |
diff --git a/bin/ebuild.sh b/bin/ebuild.sh |
19 |
index d4dde05..9df77ee 100755 |
20 |
--- a/bin/ebuild.sh |
21 |
+++ b/bin/ebuild.sh |
22 |
@@ -176,7 +176,7 @@ debug-print() { |
23 |
# default target |
24 |
printf '%s\n' "${@}" >> "${T}/eclass-debug.log" |
25 |
# let the portage user own/write to this file |
26 |
- chgrp portage "${T}/eclass-debug.log" &>/dev/null |
27 |
+ chgrp ${PORTAGE_GROUP} "${T}/eclass-debug.log" &>/dev/null |
28 |
chmod g+w "${T}/eclass-debug.log" &>/dev/null |
29 |
fi |
30 |
} |