Index: trunk/MagicSoft/Mars/datacenter/scripts/fillstar
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/fillstar	(revision 7954)
+++ trunk/MagicSoft/Mars/datacenter/scripts/fillstar	(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
 #
 #
@@ -32,5 +32,5 @@
 # into the table Star in the database using the macro fillstar.C
 # If this was successful, the status is inserted into the database using 
-# the macro setstatus.C
+# the function setstatus.
 #
 
@@ -70,6 +70,4 @@
    no=`printf %08d $sequence | cut -c 0-4`
    no2=`printf %08d $sequence`
-   var1=$no
-   var2=$no2
    path="$datapath/star/$no/$no2"
    starfile=$path/star$no2.root
@@ -79,4 +77,5 @@
 
    echo "run $program for sequence $sequence" >> $scriptlog 2>&1
+   primvar=$no2
    setstatus "start" >> $scriptlog 2>&1
 
