This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]