1 |
commit: 314791e319e3ac7ce75f3a6f9ae9cc5c2b837df6 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 30 08:40:36 2012 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 30 08:40:36 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=314791e3 |
7 |
|
8 |
phase-functions.sh: remove redundant chown/chmod |
9 |
|
10 |
These calls trigger warnings in prefix mode, since commit |
11 |
45bedf9cdc10fafd94858f67d62b36d35dd99544. They are redundant, since the |
12 |
permissions are handled the _post_phase_userpriv_perms function. |
13 |
|
14 |
--- |
15 |
bin/phase-functions.sh | 2 -- |
16 |
1 files changed, 0 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/bin/phase-functions.sh b/bin/phase-functions.sh |
19 |
index 7a0baf4..7a1d6c5 100644 |
20 |
--- a/bin/phase-functions.sh |
21 |
+++ b/bin/phase-functions.sh |
22 |
@@ -971,8 +971,6 @@ __ebuild_main() { |
23 |
__save_ebuild_env | __filter_readonly_variables \ |
24 |
--filter-features > "$T/environment" |
25 |
assert "__save_ebuild_env failed" |
26 |
- chown portage:portage "$T/environment" &>/dev/null |
27 |
- chmod g+w "$T/environment" &>/dev/null |
28 |
fi |
29 |
[[ -n $PORTAGE_EBUILD_EXIT_FILE ]] && > "$PORTAGE_EBUILD_EXIT_FILE" |
30 |
if [[ -n $PORTAGE_IPC_DAEMON ]] ; then |