1 |
Closes: https://bugs.gentoo.org/469400 |
2 |
--- |
3 |
eclass/vim-plugin.eclass | 6 +++--- |
4 |
1 file changed, 3 insertions(+), 3 deletions(-) |
5 |
|
6 |
diff --git a/eclass/vim-plugin.eclass b/eclass/vim-plugin.eclass |
7 |
index a05cdb4520b..3c809768cf8 100644 |
8 |
--- a/eclass/vim-plugin.eclass |
9 |
+++ b/eclass/vim-plugin.eclass |
10 |
@@ -39,11 +39,11 @@ vim-plugin_src_install() { |
11 |
ebegin "Fixing file permissions" |
12 |
# Make sure perms are good |
13 |
chmod -R a+rX "${S}" || die "chmod failed" |
14 |
- find "${S}" -user 'portage' -exec chown root '{}' \; || die "chown failed" |
15 |
+ find "${S}" -user "${PORTAGE_USERNAME}" -exec chown root '{}' \; || die "chown failed" |
16 |
if use userland_BSD || [[ ${CHOST} == *-darwin* ]] ; then |
17 |
- find "${S}" -group 'portage' -exec chgrp wheel '{}' \; || die "chgrp failed" |
18 |
+ find "${S}" -group "${PORTAGE_GRPNAME}" -exec chgrp wheel '{}' \; || die "chgrp failed" |
19 |
else |
20 |
- find "${S}" -group 'portage' -exec chgrp root '{}' \; || die "chgrp failed" |
21 |
+ find "${S}" -group "${PORTAGE_GRPNAME}" -exec chgrp root '{}' \; || die "chgrp failed" |
22 |
fi |
23 |
eend $? |
24 |
fi |
25 |
-- |
26 |
2.13.6 |