You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by se...@apache.org on 2008/05/15 19:51:33 UTC

svn commit: r656759 - in /stdcxx/branches/4.2.x/bin: genxviews xcomp.awk

Author: sebor
Date: Thu May 15 10:51:33 2008
New Revision: 656759

URL: http://svn.apache.org/viewvc?rev=656759&view=rev
Log:
2008-05-15  Martin Sebor  <se...@roguewave.com>

	* bin/genxviews: Invoked the duration script using its filename
	intead of absolute pathname to make it possible to affect which
	script gets invoked using the PATH environment variable.
	* bin/xcomp.awk: Same.

Modified:
    stdcxx/branches/4.2.x/bin/genxviews
    stdcxx/branches/4.2.x/bin/xcomp.awk

Modified: stdcxx/branches/4.2.x/bin/genxviews
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/bin/genxviews?rev=656759&r1=656758&r2=656759&view=diff
==============================================================================
--- stdcxx/branches/4.2.x/bin/genxviews (original)
+++ stdcxx/branches/4.2.x/bin/genxviews Thu May 15 10:51:33 2008
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $Id: genxviews 589896 2007-10-29 22:44:55Z sebor $
+# $Id: genxviews 601595 2007-12-06 01:33:50Z sebor $
 #
 ########################################################################
 #
@@ -251,7 +251,6 @@
 
     for b in $btypes; do
         for s in $suffixes; do
-
             log=`  echo $logdir/$alllogs | tr ' ' '\n' \
                  | grep "[-]$b$s-" | sort | tail -n 1`
 
@@ -612,7 +611,7 @@
 
 # compute the number of seconds it took to process all logs
 readonly now=`date`
-processing_time=`$HOME/stdcxx/bin/duration "$start_time" "$now"`
+processing_time=`duration "$start_time" "$now"`
 
 cat<<EOF | output
     </table>

Modified: stdcxx/branches/4.2.x/bin/xcomp.awk
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/bin/xcomp.awk?rev=656759&r1=656758&r2=656759&view=diff
==============================================================================
--- stdcxx/branches/4.2.x/bin/xcomp.awk (original)
+++ stdcxx/branches/4.2.x/bin/xcomp.awk Thu May 15 10:51:33 2008
@@ -1908,8 +1908,8 @@
         print "          <td>" logdates [fname] "</td>"
 
         # compute and format the age of the build
-        duration = "~/stdcxx/bin/duration -f \"" logdates [fname] \
-                                         "\" \"" todays_date "\""
+        duration = "duration -f \"" logdates [fname] \
+                               "\" \"" todays_date "\""
         duration | getline fullage
         close(duration)