summaryrefslogtreecommitdiffstats
path: root/bin/phase-functions.sh
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2012-09-30 01:40:36 -0700
committerZac Medico <zmedico@gentoo.org>2012-09-30 01:40:36 -0700
commit314791e319e3ac7ce75f3a6f9ae9cc5c2b837df6 (patch)
treedf89e3493838fc0784b656b50a6e16a7a836d5de /bin/phase-functions.sh
parent45bedf9cdc10fafd94858f67d62b36d35dd99544 (diff)
downloadportage-314791e319e3ac7ce75f3a6f9ae9cc5c2b837df6.tar.gz
portage-314791e319e3ac7ce75f3a6f9ae9cc5c2b837df6.tar.bz2
portage-314791e319e3ac7ce75f3a6f9ae9cc5c2b837df6.zip
phase-functions.sh: remove redundant chown/chmod
These calls trigger warnings in prefix mode, since commit 45bedf9cdc10fafd94858f67d62b36d35dd99544. They are redundant, since the permissions are handled the _post_phase_userpriv_perms function.
Diffstat (limited to 'bin/phase-functions.sh')
-rw-r--r--bin/phase-functions.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/bin/phase-functions.sh b/bin/phase-functions.sh
index 7a0baf453..7a1d6c538 100644
--- 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