stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r593338 - /incubator/stdcxx/trunk/bin/xbuildgen
Date Thu, 08 Nov 2007 22:16:49 GMT
Author: sebor
Date: Thu Nov  8 14:16:48 2007
New Revision: 593338

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

	* xbuildgen: Removed the name of the thread library from the name
	of the build log before extracting the build type from it.

Modified:
    incubator/stdcxx/trunk/bin/xbuildgen

Modified: incubator/stdcxx/trunk/bin/xbuildgen
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/bin/xbuildgen?rev=593338&r1=593337&r2=593338&view=diff
==============================================================================
--- incubator/stdcxx/trunk/bin/xbuildgen (original)
+++ incubator/stdcxx/trunk/bin/xbuildgen Thu Nov  8 14:16:48 2007
@@ -483,8 +483,12 @@
         revno="(unknown)"
     fi
 
-    # extract the build type from the name of the log
+    # extract the build type from the name of the log, removing
+    # the name of thread library
     buildtype=`  echo $l \
+               | sed "s/\(.*-[18][125]*[aAdDsS]\)-dce-\(.*\)/\1-\2/" \
+               | sed "s/\(.*-[18][125]*[aAdDsS]\)-solaris-\(.*\)/\1-\2/" \
+               | sed "s/\(.*-[18][125]*[aAdDsS]\)-win32-\(.*\)/\1-\2/" \
                | sed "s/.*-\([18][125]*[aAdDsS]\)-[1-9][0-9]*-log.*/\1/"`
     if [ $? -ne 0 ]; then
         echo "$myname: warning: unable to extract build type from $l" >&2



Mime
View raw message