On Tue, Feb 07, 2006 at 03:55:48PM +0100, Steinar H. Gunderson wrote: > On Tue, Feb 07, 2006 at 03:31:18PM +0100, Steinar H. Gunderson wrote: > > -# Copyright 2006 by Steinar H. Gunderson > > -# Licensed under the GPL version 2. > > Ugh, that wasn't supposed to be in the patch, of course.
:-) > > -OLDVERSION=$(grep '^[-a-z0-9+]' debian/changelog |head -2|tail -1 | sed > > 's/.*(\(.*\)).*/\1/') > > +OLDVERSION=$( dpkg-parsechangelog -v~ | sed -n "s/^ [^ .][^ ]* > > (\(.*\)).*$/\1/p" | head -2 | tail -1 ) > > Neither was this, although I believe it's an OK solution on its own (I > haven't done a detailed comparison between the two variants). Joey had already made this change anyway. Julian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

