summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregorio Guidi <greg_g@gentoo.org>2005-08-08 10:38:10 +0000
committerGregorio Guidi <greg_g@gentoo.org>2005-08-08 10:38:10 +0000
commit1c70829900957866d72838ffd0db8a7a7e8a44ae (patch)
tree155988a51ea79085552f8bccfb290758dc16cce0 /eclass/kde-functions.eclass
parentMarking 2.6.0.9-r3 stable (x86). List available users in 2.8.0.1-r1 (bug #101... (diff)
downloadgentoo-2-1c70829900957866d72838ffd0db8a7a7e8a44ae.tar.gz
gentoo-2-1c70829900957866d72838ffd0db8a7a7e8a44ae.tar.bz2
gentoo-2-1c70829900957866d72838ffd0db8a7a7e8a44ae.zip
Fix problem in deprange-list() shown in bug #100657.
Diffstat (limited to 'eclass/kde-functions.eclass')
-rw-r--r--eclass/kde-functions.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/kde-functions.eclass b/eclass/kde-functions.eclass
index 8c468a65f357..4c4e59a78862 100644
--- a/eclass/kde-functions.eclass
+++ b/eclass/kde-functions.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/kde-functions.eclass,v 1.120 2005/08/08 10:36:26 greg_g Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde-functions.eclass,v 1.121 2005/08/08 10:38:10 greg_g Exp $
#
# Author Dan Armak <danarmak@gentoo.org>
#
@@ -495,7 +495,7 @@ deprange-list() {
if [ -n "$MINSUFFIX" ]; then
BASE="=$PACKAGE-$BASEVER.${MINMINOR}_${MINSUFFIX%-r*}-r"
else
- BASE="=$PACKAGE-$BASEVER.${MINMINOR}-r"
+ BASE="=$PACKAGE-$BASEVER.${MINMINOR%-r*}-r"
fi
NEWDEP="$NEWDEP
$(deprange-iterate-numbers $BASE ${MINREV#r} 99)"