Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jul 1995 23:48:04 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        peter@haywire.dialix.com
Cc:        current@freebsd.org
Subject:   Re: bin/613: send-pr reports wrong release
Message-ID:  <199507151348.XAA22673@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>>Description:

>As you can see a few lines up, send-pr is _still_ claiming that the
>"Release" is several months old, even though everything is as recent as
>it can get, and compiled and installed.

>The problem is, that the Makefile generates obj/send-pr from send-pr.sh
>*once* and never, ever updates it, because there are no dependencies to
>cause it to be regenerated.

>>Fix:
>	
>The makefile uses a sed command to substitute @DEFAULT_RELEASE@ with the
>output of "uname -rsm" at build initial build time.  IMHO, this has to be 
>done at run-time, otherwise the ">Release:" header is pretty much
>meaningless.

This is wrong for a different reason - it only works if the machine sending
the mail is running the buggy version of FreeBSD.  Machines that aren't
connected to the net won't be sending the mail and machines that are
connected may be running a different version.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507151348.XAA22673>