This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: [mknetrel suggestion] Log to pkg-ver-rel.out, rather than just pkg.out
- From: Christopher Faylor <cgf at redhat dot com>
- To: cygwin-apps at cygwin dot com
- Date: Sat, 28 Jun 2003 20:08:33 -0400
- Subject: Re: [mknetrel suggestion] Log to pkg-ver-rel.out, rather than just pkg.out
- References: <00b401c33dbd$7403b860$5300a8c0@pomello>
- Reply-to: cygwin-apps at cygwin dot com
On Sat, Jun 28, 2003 at 10:37:18PM +0100, Max Bowsher wrote:
>Index: bin/mknetrel
>===================================================================
>RCS file: /home/max/cvsmirror/cygwin-apps-cvs/mknetrel/bin/mknetrel,v
>retrieving revision 1.50
>diff -u -p -r1.50 mknetrel
>--- bin/mknetrel 28 Jun 2003 18:05:51 -0000 1.50
>+++ bin/mknetrel 28 Jun 2003 21:32:39 -0000
>@@ -189,7 +189,7 @@ setup() {
> setvars $what
>
> [ -r "$extra/$what" ] && . "$extra/$what"
>- output && { mkdir -p $netrel_root/log; exec > $netrel_root/log/$what.out 2>&1; }
>+ output && { mkdir -p $netrel_root/log; exec > $netrel_root/log/$package.out 2>&1; }
> }
>
> setup1() {
>
>
>Sometimes, it is helpful to compare build logs from two different releases of a package.
>Logging to pkg.out, the 2nd build overwrites the log from the 1st. Logging to pkg-ver-rel.out is more flexible.
This behavior is intentional.
cgf