summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-07-23 13:48:00 +0000
committerMichał Górny <mgorny@gentoo.org>2013-07-23 13:48:00 +0000
commite762e6bfe3df390e994e716647bcf66f59801f72 (patch)
tree9461c0091176d0e35e7143af2ba6b3407ef6e447 /eclass
parentmigrate -> distutils-r1, add missing rdep and correct deps, drop some old (diff)
downloadgentoo-2-e762e6bfe3df390e994e716647bcf66f59801f72.tar.gz
gentoo-2-e762e6bfe3df390e994e716647bcf66f59801f72.tar.bz2
gentoo-2-e762e6bfe3df390e994e716647bcf66f59801f72.zip
Fix typo.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/bash-completion-r1.eclass6
2 files changed, 7 insertions, 4 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 97a375c8026b..22d4e8a94f73 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for eclass directory
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.888 2013/07/22 20:06:31 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.889 2013/07/23 13:48:00 mgorny Exp $
+
+ 23 Jul 2013; Michał Górny <mgorny@gentoo.org> bash-completion-r1.eclass:
+ Fix typo.
22 Jul 2013; Fabian Groffen <grobian@gentoo.org> bash-completion-r1.eclass:
Another attempt at fixing bash-completion for Prefix, bug #477692#c9
diff --git a/eclass/bash-completion-r1.eclass b/eclass/bash-completion-r1.eclass
index a9344ae152f7..d7800993039a 100644
--- a/eclass/bash-completion-r1.eclass
+++ b/eclass/bash-completion-r1.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/bash-completion-r1.eclass,v 1.8 2013/07/22 20:06:31 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/bash-completion-r1.eclass,v 1.9 2013/07/23 13:48:00 mgorny Exp $
# @ECLASS: bash-completion-r1.eclass
# @MAINTAINER:
@@ -41,10 +41,10 @@ _bash-completion-r1_get_bashdir() {
debug-print-function ${FUNCNAME} "${@}"
if $(tc-getPKG_CONFIG) --exists bash-completion; then
- local pcbc="$($(tc-getPKG_CONFIG) --variable=$1 bash-completion)"
+ local path="$($(tc-getPKG_CONFIG) --variable=$1 bash-completion)"
# we need to return unprefixed, so strip from what pkg-config returns
# to us, bug #477692
- echo "${pcdb#${EPREFIX}}"
+ echo "${path#${EPREFIX}}"
else
echo $2
fi