summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2013-01-27 11:34:56 +0000
committerTim Harder <radhermit@gentoo.org>2013-01-27 11:34:56 +0000
commita659848267f31121582d9ac4e8fd40c39e9b6380 (patch)
tree6f626863b928aadbaef7d809e466fea0a5cac32d /eclass/vim-plugin.eclass
parent[bump] virtual/perl-Module-Pluggable-4.600.0 (diff)
downloadgentoo-2-a659848267f31121582d9ac4e8fd40c39e9b6380.tar.gz
gentoo-2-a659848267f31121582d9ac4e8fd40c39e9b6380.tar.bz2
gentoo-2-a659848267f31121582d9ac4e8fd40c39e9b6380.zip
Remove unwanted files that may exist.
Diffstat (limited to 'eclass/vim-plugin.eclass')
-rw-r--r--eclass/vim-plugin.eclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/vim-plugin.eclass b/eclass/vim-plugin.eclass
index ae2c95034cb7..f6d24666e40f 100644
--- a/eclass/vim-plugin.eclass
+++ b/eclass/vim-plugin.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/vim-plugin.eclass,v 1.30 2013/01/24 00:58:47 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/vim-plugin.eclass,v 1.31 2013/01/27 11:34:56 radhermit Exp $
#
# This eclass simplifies installation of app-vim plugins into
# /usr/share/vim/vimfiles. This is a version-independent directory
@@ -49,6 +49,9 @@ vim-plugin_src_install() {
rm -f "${f}"
done
+ # Remove unwanted files that may exist
+ rm -rf .git*
+
# Install remainder of plugin
cd "${WORKDIR}"
dodir /usr/share/vim