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
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message