--- eclass/vim-plugin.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/eclass/vim-plugin.eclass b/eclass/vim-plugin.eclass index 3c809768cf8..d635a2aa436 100644 --- a/eclass/vim-plugin.eclass +++ b/eclass/vim-plugin.eclass @@ -40,11 +40,11 @@ vim-plugin_src_install() { # Make sure perms are good chmod -R a+rX "${S}" || die "chmod failed" find "${S}" -user "${PORTAGE_USERNAME}" -exec chown root '{}' \; || die "chown failed" + local _grp="root" if use userland_BSD || [[ ${CHOST} == *-darwin* ]] ; then - find "${S}" -group "${PORTAGE_GRPNAME}" -exec chgrp wheel '{}' \; || die "chgrp failed" - else - find "${S}" -group "${PORTAGE_GRPNAME}" -exec chgrp root '{}' \; || die "chgrp failed" + _grp="wheel" fi + find "${S}" -group "${PORTAGE_GRPNAME}" -exec chgrp "${_grp}" '{}' \; || die "chgrp failed" eend $? fi -- 2.13.6