Index: trunk/MagicSoft/Mars/datacenter/scripts/checkstardone
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/checkstardone	(revision 7954)
+++ trunk/MagicSoft/Mars/datacenter/scripts/checkstardone	(revision 8482)
@@ -20,5 +20,5 @@
 #   Author(s): Daniela Dorner  08/2004 <mailto:dorner@astro.uni-wuerzburg.de>
 #
-#   Copyright: MAGIC Software Development, 2000-2006
+#   Copyright: MAGIC Software Development, 2000-2007
 #
 #
@@ -33,5 +33,5 @@
 # the macro checkstardone.C 
 # If this was successful, the status is inserted into the database using 
-# the macro setstatus.C
+# the function setstatus.
 #
 
@@ -68,6 +68,4 @@
    no=`printf %08d $dataset | cut -c 0-5`
    no2=`printf %08d $dataset`
-   var1=$no
-   var2=$dataset
    datasetfile=$datasetpath/$no/dataset`printf %08d $dataset`.txt
    
@@ -84,4 +82,5 @@
    makedir $outpath  >> $scriptlog 2>&1 
    
+   primvar=$dataset
    setstatus "start" >> $scriptlog 2>&1
 
