diff options
Diffstat (limited to 'eclass/vim.eclass')
-rw-r--r-- | eclass/vim.eclass | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/eclass/vim.eclass b/eclass/vim.eclass index 69fdcdff97ae..57f276da08d2 100644 --- a/eclass/vim.eclass +++ b/eclass/vim.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.188 2010/07/15 13:11:50 lack Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.189 2010/07/20 13:53:43 lack Exp $ # Authors: # Jim Ramsay <i.am@gentoo.org> @@ -549,7 +549,8 @@ vim_src_install() { # livecd. bug 65144. einfo "Removing some files for a smaller livecd install ..." - shopt -s extglob + eshopts_push -s extglob + rm -fr "${ED}${vimfiles}"/{compiler,doc,ftplugin,indent} rm -fr "${ED}${vimfiles}"/{macros,print,tools,tutor} rm "${ED}"/usr/bin/vimtutor @@ -561,6 +562,8 @@ vim_src_install() { # tinkering with the next line might make bad things happen ... keep_syntax="${keep_syntax}|syntax|nosyntax|synload" ignore=$(rm -fr "${ED}${vimfiles}"/syntax/!(${keep_syntax}).vim ) + + eshopts_pop fi # These files might have slight security issues, so we won't |