summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Kelly <pioto@gentoo.org>2006-09-24 19:41:56 +0000
committerMike Kelly <pioto@gentoo.org>2006-09-24 19:41:56 +0000
commit31af551a1a2d946dfc05fd36d69ba18d0216d3f2 (patch)
tree0ab72d96943b46cd4a377dd9fe2ed2a9289355eb /eclass/vim-doc.eclass
parentStable on ppc64; bug #148851 (diff)
downloadhistorical-31af551a1a2d946dfc05fd36d69ba18d0216d3f2.tar.gz
historical-31af551a1a2d946dfc05fd36d69ba18d0216d3f2.tar.bz2
historical-31af551a1a2d946dfc05fd36d69ba18d0216d3f2.zip
Fix bug #131819 (missing support for $ROOT).
Diffstat (limited to 'eclass/vim-doc.eclass')
-rw-r--r--eclass/vim-doc.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/vim-doc.eclass b/eclass/vim-doc.eclass
index 7b13cdad0ee5..5038aaaccf9c 100644
--- a/eclass/vim-doc.eclass
+++ b/eclass/vim-doc.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-doc.eclass,v 1.10 2005/12/07 17:53:25 ciaranm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/vim-doc.eclass,v 1.11 2006/09/24 19:41:56 pioto Exp $
#
# This eclass is used by vim.eclass and vim-plugin.eclass to update
# the documentation tags. This is necessary since vim doesn't look in
@@ -16,7 +16,7 @@ update_vim_helptags() {
local vimfiles vim d s
# This is where vim plugins are installed
- vimfiles=/usr/share/vim/vimfiles
+ vimfiles="${ROOT}"/usr/share/vim/vimfiles
if [[ $PN != vim-core ]]; then
# Find a suitable vim binary for updating tags :helptags
@@ -41,7 +41,7 @@ update_vim_helptags() {
# Install the documentation symlinks into the versioned vim
# directory and run :helptags
- for d in /usr/share/vim/vim[0-9]*; do
+ for d in "${ROOT}"/usr/share/vim/vim[0-9]*; do
[[ -d "$d/doc" ]] || continue # catch a failed glob
# Remove links, and possibly remove stale dirs