diff options
| author | Jonathan Callen <abcd@gentoo.org> | 2011-06-15 08:09:29 -0400 |
|---|---|---|
| committer | Jonathan Callen <abcd@gentoo.org> | 2011-06-15 08:09:29 -0400 |
| commit | fe728f02c981fc9a24f53611f3bdb036f4e87291 (patch) | |
| tree | 10188ef69cdf48ccde780fa4b1f2cd3b97143e68 /eclass/kde4-functions.eclass | |
| parent | 2dead7c5eb140bf7d4d112489853d029d67ddc52 (diff) | |
| download | kde-fe728f02c981fc9a24f53611f3bdb036f4e87291.tar.gz kde-fe728f02c981fc9a24f53611f3bdb036f4e87291.tar.bz2 kde-fe728f02c981fc9a24f53611f3bdb036f4e87291.zip | |
[eclass] Bash 4.1 fails on ${var::-4}, replace with something that won't fail
Diffstat (limited to 'eclass/kde4-functions.eclass')
| -rw-r--r-- | eclass/kde4-functions.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/kde4-functions.eclass b/eclass/kde4-functions.eclass index cb5caead387..19bb3acbf17 100644 --- a/eclass/kde4-functions.eclass +++ b/eclass/kde4-functions.eclass @@ -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 |
