Fixed grep syntax on OS X in the Analysis Plugin
authordberzano <dario.berzano@cern.ch>
Wed, 5 Nov 2014 15:18:43 +0000 (16:18 +0100)
committerhristov <Peter.Hristov@cern.ch>
Thu, 6 Nov 2014 10:15:30 +0000 (11:15 +0100)
ANALYSIS/AliAnalysisAlien.cxx

index dbd910a..a88525a 100644 (file)
@@ -5030,7 +5030,7 @@ void AliAnalysisAlien::WriteValidationScript(Bool_t merge)
       out << "parArch=`grep -Ei \"Cannot Build the PAR Archive\" stderr`" << endl;
       out << "segViol=`grep -Ei \"Segmentation violation\" stderr`" << endl;
       out << "segFault=`grep -Ei \"Segmentation fault\" stderr`" << endl;
-      out << "glibcErr=`grep -Ei \"*** glibc detected ***\" stderr`" << endl;
+      out << "glibcErr=`grep -Ei '\\*\\*\\* glibc detected \\*\\*\\*' stderr`" << endl;
       out << "" << endl;
 
       out << "if [ \"$parArch\" != \"\" ] ; then" << endl;