[mknetrel suggestion] Log to pkg-ver-rel.out, rather than just pkg.out

Christopher Faylor cgf@redhat.com
Sun Jun 29 00:08:00 GMT 2003


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



More information about the Cygwin-apps mailing list