Index: /trunk/MagicSoft/Mars/Changelog
===================================================================
--- /trunk/MagicSoft/Mars/Changelog	(revision 7630)
+++ /trunk/MagicSoft/Mars/Changelog	(revision 7631)
@@ -18,4 +18,11 @@
 
                                                  -*-*- END OF LINE -*-*-
+
+ 2006/04/11 Daniel Hoehne, Daniela Dorner
+
+   * datacenter/scripts/dodatacheck:
+     - fixed bug in finding raw-files
+
+
 
  2006/04/10 Daniel Hoehne
Index: /trunk/MagicSoft/Mars/datacenter/scripts/dodatacheck
===================================================================
--- /trunk/MagicSoft/Mars/datacenter/scripts/dodatacheck	(revision 7630)
+++ /trunk/MagicSoft/Mars/datacenter/scripts/dodatacheck	(revision 7631)
@@ -125,7 +125,7 @@
    var1=$date
    var2=$no2
-   rawfile=`find /magic/data/rawfiles/ -name *${run}_[D,P,C,S]_*_E.raw`
+   rawfile=`find /magic/data/rawfiles/ -name *${run}_[D,P,C,S]_*_E.raw -o -name *${run}_[D,P,C,S]_*_E.raw.gz`
    echo "rawfile: "$rawfile >> $scriptlog 2>&1
-   date=`find /magic/data/rawfiles/ -name *${run}_[D,P,C,S]_*_E.raw | cut -c 22-31`
+   date=`echo $rawfile | cut -c 22-31`
    echo "date: "$date >> $scriptlog 2>&1
    # for sinope the date is needed in the format YYYY-MM-DD
