summaryrefslogtreecommitdiff
path: root/eclass
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
commit387bb86f5c4aeac9c2ce061155f3ecf5c9db59db (patch)
tree05be636855d931f5900a7d0f2c6ef93e892d9db1 /eclass
parentMarking 2.6.0.9-r3 stable (x86). List available users in 2.8.0.1-r1 (bug #101... (diff)
downloadhistorical-387bb86f5c4aeac9c2ce061155f3ecf5c9db59db.tar.gz
historical-387bb86f5c4aeac9c2ce061155f3ecf5c9db59db.tar.bz2
historical-387bb86f5c4aeac9c2ce061155f3ecf5c9db59db.zip
Fix problem in deprange-list() shown in bug #100657.
Diffstat (limited to '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)"