phase-functions.sh: remove redundant chown/chmod
authorZac Medico <zmedico@gentoo.org>
Sun, 30 Sep 2012 08:40:36 +0000 (01:40 -0700)
committerZac 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

index 7a0baf4532be8bc792a63a0332b02a10bf0bb1c9..7a1d6c53824f22c438007b63ca03bfeff99e5b53 100644 (file)
@@ -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