diff options
author | Jonathan Callen <abcd@gentoo.org> | 2011-06-15 12:10:54 +0000 |
---|---|---|
committer | Jonathan Callen <abcd@gentoo.org> | 2011-06-15 12:10:54 +0000 |
commit | a0dd1c4f75bfc259e6b55247ab9e28473f27e382 (patch) | |
tree | 738a2f527a7dff14f6af86e63c30c0db1c5b8c9d /eclass/kde4-functions.eclass | |
parent | add ~x86-interix fix (diff) | |
download | gentoo-2-a0dd1c4f75bfc259e6b55247ab9e28473f27e382.tar.gz gentoo-2-a0dd1c4f75bfc259e6b55247ab9e28473f27e382.tar.bz2 gentoo-2-a0dd1c4f75bfc259e6b55247ab9e28473f27e382.zip |
Re-add support for Bash versions < 4.2 (the manuals tend not to be clear about when a feature is added)
Diffstat (limited to 'eclass/kde4-functions.eclass')
-rw-r--r-- | eclass/kde4-functions.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/kde4-functions.eclass b/eclass/kde4-functions.eclass index cb5caead3876..d92eef3017fb 100644 --- a/eclass/kde4-functions.eclass +++ b/eclass/kde4-functions.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-functions.eclass,v 1.52 2011/06/15 00:11:05 abcd Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-functions.eclass,v 1.53 2011/06/15 12:10:54 abcd Exp $ inherit versionator @@ -461,7 +461,7 @@ _do_blocker() { fi local slot ver="$1" atom old_ver="unset" - [[ "$2" == *:3.5 ]] && old_ver=${2::-4} + [[ "$2" == *:3.5 ]] && old_ver=${2%:3.5} for slot in ${KDE_SLOTS[@]} ${KDE_LIVE_SLOTS[@]}; do # If no version was passed, or the version is greater than the maximum |