From e5e8841296350d2ada6f8297749129cef77a3d13 Mon Sep 17 00:00:00 2001 From: Ciaran McCreesh Date: Mon, 29 Nov 2004 20:35:18 +0000 Subject: [PATCH] add in ugly hack to make bash not do stupid things --- eclass/vim.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/vim.eclass b/eclass/vim.eclass index 84351986a245..55c4136ff998 100644 --- a/eclass/vim.eclass +++ b/eclass/vim.eclass @@ -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 @@ -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 -- 2.26.2