Index: trunk/MagicSoft/Mars/datacenter/scripts/fillganymed
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/fillganymed	(revision 7954)
+++ trunk/MagicSoft/Mars/datacenter/scripts/fillganymed	(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 Ganymed in the database using the macro fillganymed.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 $dataset | cut -c 0-5`
    no2=`printf %08d $dataset`
-   var1=$no
-   var2=$no2
    path="$datapath/ganymed/$no/$no2"
    ganymedfile=$path/ganymed$no2.root
@@ -79,4 +77,5 @@
 
    echo "run $program for dataset $dataset" >> $scriptlog 2>&1
+   primvar=$no2
    setstatus "start" >> $scriptlog 2>&1
 
