Index: trunk/MagicSoft/Mars/datacenter/scripts/buildsequenceentries
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/buildsequenceentries	(revision 7944)
+++ trunk/MagicSoft/Mars/datacenter/scripts/buildsequenceentries	(revision 7954)
@@ -73,9 +73,9 @@
    buildsequentriespath=$logpath/$program/$year2
    makedir  $buildsequentriespath >> $scriptlog 2>&1
-   buildsequenceentrieslog=$buildsequentriespath/buildsequenceentries-$date.log
+   buildsequentrieslog=$buildsequentriespath/buildsequenceentries-$date.log
 
    setstatus "start" >> $scriptlog 2>&1
 
-   check1=`root -q -b $macrospath/buildsequenceentries.C+\("\"$date\""\,"\"$datapath\""\,"\"$sequpath\""\,kFALSE\) | tee $buildsequeentrieslog | grep int | sed -e 's/(int)//'`
+   check1=`root -q -b $macrospath/buildsequenceentries.C+\("\"$date\""\,"\"$datapath\""\,"\"$sequpath\""\,kFALSE\) | tee $buildsequentrieslog | intgrep`
 
    case $check1 in
