diff options
author | Jim Ramsay <lack@gentoo.org> | 2010-07-20 13:53:43 +0000 |
---|---|---|
committer | Jim Ramsay <lack@gentoo.org> | 2010-07-20 13:53:43 +0000 |
commit | 7361d4a5e9d966f103839ecc3332a0da9091b7dc (patch) | |
tree | 5297ac1798a445f8a7108a19927b63c87a87c49b /eclass/vim.eclass | |
parent | Marked ~ppc for bug #283531. (diff) | |
download | historical-7361d4a5e9d966f103839ecc3332a0da9091b7dc.tar.gz historical-7361d4a5e9d966f103839ecc3332a0da9091b7dc.tar.bz2 historical-7361d4a5e9d966f103839ecc3332a0da9091b7dc.zip |
Updating code to use eshopts_push/pop (Bug #328873, thanks Spanky!)
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 |