projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6983b1a
)
debug-print: chgrp ${PORTAGE_GRPNAME:-portage}
author
Zac Medico
<zmedico@gentoo.org>
Sun, 30 Sep 2012 17:30:47 +0000
(10:30 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 30 Sep 2012 17:30:47 +0000
(10:30 -0700)
This fixes warnings for prefix users (see commits
1c3c3b802014ac6356af09d149aaaffce6c14dc3
and
6983b1a1dd21f931ba751b727bd1a3c460383840
).
bin/ebuild.sh
patch
|
blob
|
history
diff --git
a/bin/ebuild.sh
b/bin/ebuild.sh
index b4deb9c99e52afdf78e4901f68f047f7ada5fda0..a74a84851fb5c2fda6a7e4ba0af4e4ed13820847 100755
(executable)
--- 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
}