summaryrefslogtreecommitdiff
path: root/eclass
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
commitcbc88c56c8a25a8392c799d992e7fea5f29b558a (patch)
tree55da4f0de7d2d182b98f2ec2a332e568021fac38 /eclass
parentMake sure libkdegames is set as runtime dependency. (diff)
downloadgentoo-2-cbc88c56c8a25a8392c799d992e7fea5f29b558a.tar.gz
gentoo-2-cbc88c56c8a25a8392c799d992e7fea5f29b558a.tar.bz2
gentoo-2-cbc88c56c8a25a8392c799d992e7fea5f29b558a.zip
Fix bug #131819 (missing support for $ROOT).
Diffstat (limited to '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