projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45bedf9
)
phase-functions.sh: remove redundant chown/chmod
author
Zac Medico
<zmedico@gentoo.org>
Sun, 30 Sep 2012 08:40:36 +0000
(
01:40
-0700)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 30 Sep 2012 08:40:36 +0000
(
01:40
-0700)
These calls trigger warnings in prefix mode, since commit
45bedf9cdc10fafd94858f67d62b36d35dd99544
. They are redundant, since the
permissions are handled the _post_phase_userpriv_perms function.
bin/phase-functions.sh
patch
|
blob
|
history
diff --git
a/bin/phase-functions.sh
b/bin/phase-functions.sh
index 7a0baf4532be8bc792a63a0332b02a10bf0bb1c9..7a1d6c53824f22c438007b63ca03bfeff99e5b53 100644
(file)
--- a/
bin/phase-functions.sh
+++ b/
bin/phase-functions.sh
@@
-971,8
+971,6
@@
__ebuild_main() {
__save_ebuild_env | __filter_readonly_variables \
--filter-features > "$T/environment"
assert "__save_ebuild_env failed"
- chown portage:portage "$T/environment" &>/dev/null
- chmod g+w "$T/environment" &>/dev/null
fi
[[ -n $PORTAGE_EBUILD_EXIT_FILE ]] && > "$PORTAGE_EBUILD_EXIT_FILE"
if [[ -n $PORTAGE_IPC_DAEMON ]] ; then