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 23:28:30 UTC

svn commit: r656851 - in /stdcxx/branches/4.3.x/bin: genxviews xcomp.awk

Author: sebor
Date: Thu May 15 14:28:30 2008
New Revision: 656851

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

	* 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.3.x/bin/genxviews
    stdcxx/branches/4.3.x/bin/xcomp.awk

Modified: stdcxx/branches/4.3.x/bin/genxviews
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.3.x/bin/genxviews?rev=656851&r1=656850&r2=656851&view=diff
==============================================================================
--- stdcxx/branches/4.3.x/bin/genxviews (original)
+++ stdcxx/branches/4.3.x/bin/genxviews Thu May 15 14:28:30 2008
@@ -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.3.x/bin/xcomp.awk
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.3.x/bin/xcomp.awk?rev=656851&r1=656850&r2=656851&view=diff
==============================================================================
--- stdcxx/branches/4.3.x/bin/xcomp.awk (original)
+++ stdcxx/branches/4.3.x/bin/xcomp.awk Thu May 15 14:28:30 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)