add in ugly hack to make bash not do stupid things
authorCiaran McCreesh <ciaranm@gentoo.org>
Mon, 29 Nov 2004 20:35:18 +0000 (20:35 +0000)
committerCiaran McCreesh <ciaranm@gentoo.org>
Mon, 29 Nov 2004 20:35:18 +0000 (20:35 +0000)
eclass/vim.eclass

index 84351986a245122904b494ede1486d11b95580cc..55c4136ff998737fbcbe58862a88cc7e238cb5a0 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.80 2004/11/28 14:34:19 ciaranm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.81 2004/11/29 20:35:18 ciaranm Exp $
 
 # Authors:
 #      Ryan Phillips <rphillips@gentoo.org>
@@ -430,12 +430,12 @@ src_install() {
                        rm ${D}/usr/bin/vimtutor
 
                        local keep_colors="default"
-                       rm -fr ${vimfiles}/colors/!(${keep_colors}).vim
+                       ignore=$(rm -fr ${vimfiles}/colors/!(${keep_colors}).vim )
 
                        local keep_syntax="conf|crontab|fstab|inittab|resolv|sshdconfig"
                        # tinkering with the next line might make bad things happen ...
                        keep_syntax="${keep_syntax}|syntax|nosyntax|synload"
-                       rm -fr ${vimfiles}/syntax/!(${keep_syntax}).vim
+                       ignore=$(rm -fr ${vimfiles}/syntax/!(${keep_syntax}).vim )
                fi
 
        elif [[ "${MY_PN}" == "gvim" ]] ; then