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 2007/11/08 23:16:49 UTC
svn commit: r593338 - /incubator/stdcxx/trunk/bin/xbuildgen
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 <se...@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