[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Upstream version with a hyphen?



On Thu, Jun 24, 2004 at 03:21:07PM +1000, Andrew Pollock wrote:
> On Thu, Jun 24, 2004 at 02:25:11AM +0100, Scott James Remnant wrote:
> 
> [snip]
> 
> > Upstream versions with hyphens work fine, only the last hyphen is
> > removed to extract the Debian revision.  I've maintained a package with
> > one for ages and never tripped over a buggy tool.
> > 
> 
> While we're at it, what is a good way of extracting the upstream version out
> of a version string that contains the Debian revision?

Err, that's obvious? Split at the last hyphen in the version string?

--Jeroen

-- 
Jeroen van Wolffelaar
Jeroen@wolffelaar.nl (also for Jabber & MSN; ICQ: 33944357)
http://Jeroen.A-Eskwadraat.nl



Reply to: