Date: Sun, 13 May 2001 21:16:33 +0100 From: David Taylor <davidt@yadt.co.uk> To: hackers@FreeBSD.ORG Subject: Re: SSH Must Die Message-ID: <20010513211633.A79395@gattaca.yadt.co.uk> In-Reply-To: <20010513190026.A18437@mail.webmonster.de>; from karsten@rohrbach.de on Sun, May 13, 2001 at 19:00:26 %2B0200 References: <3AFD1D6D.51731EAC@mindspring.com> <20010512072320L.jkh@osd.bsdi.com> <3AFDC640.83A13495@mindspring.com> <20010512193354.A47163@xor.obsecurity.org> <20010513190026.A18437@mail.webmonster.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 13 May 2001, Karsten W. Rohrbach wrote: > btw, mergemaster's version number generation for the help/syntax page is > broken because it displays the number of the running kernel not the > version of mergemaster itself: > --- > VERSION_NUMBER=`grep "[$]FreeBSD:" $0 | cut -d ' ' -f 4` > echo "mergemaster version ${VERSION_NUMBER}" > --- That would appear to be mergemaster grepping for the $FreeBSD$ line in itself, then extracting the CVS revision number from that line. > why is it this way? i would think about creating the version in the > build process and s/@TAG@/version/ it in the to-be-installed mergemaster > file. The version is branded into the file during the cvs commit process, and is extracted from the installed file when needed... -- David Taylor davidt@yadt.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010513211633.A79395>