summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCiaran McCreesh <ciaranm@gentoo.org>2005-01-04 13:03:54 +0000
committerCiaran McCreesh <ciaranm@gentoo.org>2005-01-04 13:03:54 +0000
commitf955ddf5009a63ea129968ee9815fe732f92195b (patch)
tree55a111ee631c4bc96efeed68568483d886749974 /eclass/versionator.eclass
parentbug 76590 (diff)
downloadhistorical-f955ddf5009a63ea129968ee9815fe732f92195b.tar.gz
historical-f955ddf5009a63ea129968ee9815fe732f92195b.tar.bz2
historical-f955ddf5009a63ea129968ee9815fe732f92195b.zip
fix delete_all_version_separators when called with args
Diffstat (limited to 'eclass/versionator.eclass')
-rw-r--r--eclass/versionator.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/versionator.eclass b/eclass/versionator.eclass
index 7ac45645300f..234df1c9f745 100644
--- a/eclass/versionator.eclass
+++ b/eclass/versionator.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/versionator.eclass,v 1.4 2005/01/02 17:08:19 ciaranm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/versionator.eclass,v 1.5 2005/01/04 13:03:54 ciaranm Exp $
#
# Original Author: Ciaran McCreesh <ciaranm@gentoo.org>
#
@@ -212,9 +212,9 @@ delete_version_separator() {
}
# Delete all version separators in $1 (defaults to $PV).
-# '_' 1b.2.3 -> 1b_2_3
+# 1b.2.3 -> 1b23
delete_all_version_separators() {
- replace_all_version_separators "${1}"
+ replace_all_version_separators "" "${1}"
}
# Is $2 (defaults to $PVR) at least version $1? Intended for use in eclasses