From f955ddf5009a63ea129968ee9815fe732f92195b Mon Sep 17 00:00:00 2001 From: Ciaran McCreesh Date: Tue, 4 Jan 2005 13:03:54 +0000 Subject: [PATCH] fix delete_all_version_separators when called with args --- eclass/versionator.eclass | 6 +++--- 1 file 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 # @@ -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 -- 2.26.2