Index: trunk/MagicSoft/Mars/datacenter/scripts/runcamera
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/runcamera	(revision 9171)
+++ trunk/MagicSoft/Mars/datacenter/scripts/runcamera	(revision 9172)
@@ -42,7 +42,7 @@
    echo "ct_geom 1"
    echo "qe_file 0 $detectordir/Data/qe-emi-coat.RFL.dat"
-   echo "input_file 0 "$mcpath"/reflector/"$date"/"$outfile
-   echo "data_file $outpath/"`echo $outfile | sed -e 's/rfl/dat/'`
-   echo "root_file $outpath/"`echo $outfile | sed -e 's/rfl/root/'`
+   echo "input_file 0 "$mcpath"/reflector/"$date"/"$infile
+   echo "data_file $outpath/"`echo $infile | sed -e 's/rfl/dat/'`
+   echo "root_file $outpath/"`echo $infile | sed -e 's/rfl/root/'`
    echo "trigger_prop 3.0 0.25 1.0 2.0"
    echo "trigger_single 0 4 4 2"
@@ -94,5 +94,5 @@
 outpath=$mcpath"/"$program"/"$date
 date2=`echo $date | sed -e 's/\///g'`
-outfile=$date2"_"`printf %06d $reflectorrunno`"_"$particle".rfl"
+infile=$date2"_"`printf %06d $reflectorrunno`"_"$particle".rfl"
 query="SELECT fAdditionalSpotSize FROM MCRunData where fMCRunNumber="$run
 spotsize=`sendquery`
