stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r602766 - in /incubator/stdcxx/trunk/bin: genxviews xbuildgen
Date Mon, 10 Dec 2007 01:12:11 GMT
Author: sebor
Date: Sun Dec  9 17:12:08 2007
New Revision: 602766

URL: http://svn.apache.org/viewvc?rev=602766&view=rev
Log:
2007-12-09  Martin Sebor  <sebor@roguewave.com>

	* genxviews: Required /usr/local/bin/bash as the interpreter.
	(process_results): Corrected option syntax to set page title
	and added it to the dryrun output of the script.
	* xbuildgen: Required /usr/local/bin/bash as the interpreter.
	Recognized xlCcore_r as XLC++.
	Avoided using extended regular expressions in awk (unsupported
	on FreeBSD).

Modified:
    incubator/stdcxx/trunk/bin/genxviews
    incubator/stdcxx/trunk/bin/xbuildgen

Modified: incubator/stdcxx/trunk/bin/genxviews
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/bin/genxviews?rev=602766&r1=602765&r2=602766&view=diff
==============================================================================
--- incubator/stdcxx/trunk/bin/genxviews (original)
+++ incubator/stdcxx/trunk/bin/genxviews Sun Dec  9 17:12:08 2007
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/local/bin/bash
 #
 # $Id: genxviews 601595 2007-12-06 01:33:50Z sebor $
 #
@@ -185,13 +185,13 @@
         fi
     else
         if [ $dryrun -eq 1 ]; then
-            echo "$myname: $CROSS -o$outdir/$outfile $buildlogs   # $count logs"
+            echo "$myname: $CROSS -o$outdir/$outfile -T\"$title\" $buildlogs   # $count logs"
         else
             if [ $quiet -eq 0 ]; then
                 echo "<td><a href="$outfile">$outfile</a></td>"
             fi
 
-            $CROSS -o$outdir/$outfile -t $title $buildlogs
+            $CROSS -o$outdir/$outfile -T"$title" $buildlogs
         fi
     fi
 

Modified: incubator/stdcxx/trunk/bin/xbuildgen
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/bin/xbuildgen?rev=602766&r1=602765&r2=602766&view=diff
==============================================================================
--- incubator/stdcxx/trunk/bin/xbuildgen (original)
+++ incubator/stdcxx/trunk/bin/xbuildgen Sun Dec  9 17:12:08 2007
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/local/bin/bash
 #
 # $Id: xbuildgen 601917 2007-12-06 23:46:48Z sebor $
 #
@@ -466,7 +466,7 @@
     compiler=`  sed -n "/^configuring stdcxx /{p;q;}" $file \
               | sed "s/.* for \([^ ][^ ]*\) .*/\1/"`
 
-    if [ "${compiler%%-*}" = "xlCcore" ]; then
+    if [    "${compiler%%[-_]*}" = "xlCcore" ]; then
         # replace xlCcore with XLC++ for IBM XLC/C++
         compiler="XLC++ "${compiler#*-}
     elif [ "${compiler%%-*}" = "aCC" ]; then
@@ -1154,7 +1154,10 @@
 }
 # match the first record to the name optionally followed
 # by one of the three suffixes
-\$1 ~ "^" name "(|.bat|.exe|.sh)\$" {
+   \$1 ~ "^" name "\$" \
+|| \$1 ~ "^" name ".bat\$" \
+|| \$1 ~ "^" name ".exe\$" \
+|| \$1 ~ "^" name ".sh\$" {
 
     status = \$2
 



Mime
View raw message