summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2013-09-10 19:12:17 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2013-09-10 19:12:17 +0000
commit2c86e89427df2449707268b35c01cbb51f24e9a2 (patch)
tree0ab8018fe869405e9a2f60c026f35db6f281c696 /eclass/bash-completion-r1.eclass
parentVersion bump. Add ruby19. (diff)
downloadgentoo-2-2c86e89427df2449707268b35c01cbb51f24e9a2.tar.gz
gentoo-2-2c86e89427df2449707268b35c01cbb51f24e9a2.tar.bz2
gentoo-2-2c86e89427df2449707268b35c01cbb51f24e9a2.zip
Unbreak the eclass after 2.1-r1 p.mask by adjusting the return logic.
Diffstat (limited to 'eclass/bash-completion-r1.eclass')
-rw-r--r--eclass/bash-completion-r1.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/bash-completion-r1.eclass b/eclass/bash-completion-r1.eclass
index d7800993039a..9676f6b6ae77 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.9 2013/07/23 13:48:00 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/bash-completion-r1.eclass,v 1.10 2013/09/10 19:12:17 ssuominen Exp $
# @ECLASS: bash-completion-r1.eclass
# @MAINTAINER:
@@ -57,10 +57,10 @@ _bash-completion-r1_get_bashdir() {
_bash-completion-r1_get_bashcompdir() {
debug-print-function ${FUNCNAME} "${@}"
- if has_version '<app-shells/bash-completion-2.1-r1'; then
- _bash-completion-r1_get_bashdir completionsdir /usr/share/bash-completion
- else
+ if has_version '>=app-shells/bash-completion-2.1-r1'; then
_bash-completion-r1_get_bashdir completionsdir /usr/share/bash-completion/completions
+ else
+ _bash-completion-r1_get_bashdir completionsdir /usr/share/bash-completion
fi
}