Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 8492)
+++ trunk/MagicSoft/Mars/Changelog	(revision 8493)
@@ -24,4 +24,6 @@
      - added information about the created paths to the output of 
        Usage()
+     - adapted regular expressions
+     - bugfix in getting date for cc and caco file
 
 
Index: trunk/MagicSoft/Mars/scripts/processsequence
===================================================================
--- trunk/MagicSoft/Mars/scripts/processsequence	(revision 8492)
+++ trunk/MagicSoft/Mars/scripts/processsequence	(revision 8493)
@@ -218,5 +218,5 @@
    checkreturncode
 
-   calfiles=`find $calpath -name [2][0][0-2][0-9][0,1][0-9][0-3][0-9]_*_Y_*.root`
+   calfiles=`find $calpath -name 20[0-2][0-9][01][0-9][0-3][0-9]_*_Y_*.root`
 
    echo "run merpp update for calibrated files..."
@@ -232,5 +232,5 @@
       mkdir -pv $merpplogpath
 
-      date=`date --date \`basename $calfile | cut -d_ -f1 +%Y/%m/%d\``
+      date=`date --date \`basename $calfile | cut -d_ -f1\` +%Y/%m/%d`
       ccpath=$subsystempath/cc/$date
       cacopath=$subsystempath/caco/$date
