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

Max Bowsher maxb@ukf.net
Sat Jun 28 21:37:00 GMT 2003


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.


Max.



More information about the Cygwin-apps mailing list