Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
find the build host even on incomplete build (done with rsync)
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 4 Mar 2005 13:55:57 +0000 (13:55 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 4 Mar 2005 13:55:57 +0000 (13:55 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1155 48e7efb5-ca39-0410-a469-dd3cf9ba447f

tools/compile-stats

index 1f7ba78..70dcd48 100755 (executable)
@@ -36,8 +36,8 @@ for VERSION in `ls buildlogs|grep -v html` ; do
 
     ## Extract some info out there
     last=`tail -n 1 buildlogs/$VERSION/$file`
 
     ## Extract some info out there
     last=`tail -n 1 buildlogs/$VERSION/$file`
-    sys=`grep "checking target system type..." buildlogs/$VERSION/$file| \
-        sed 's/checking target system type...//'`
+    sys=`grep -e "^build='[^']*'\$" buildlogs/$VERSION/$file| \
+        sed "s/^build='\([^']*\)'\$/\1/"`
     grassys=`grep "^#define GRAS_THISARCH" buildlogs/$VERSION/$file| \
              sed 's/.*GRAS_THISARCH //'`
 
     grassys=`grep "^#define GRAS_THISARCH" buildlogs/$VERSION/$file| \
              sed 's/.*GRAS_THISARCH //'`