Index: trunk/MagicSoft/Mars/datacenter/scripts/dowebplots
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/dowebplots	(revision 7305)
+++ trunk/MagicSoft/Mars/datacenter/scripts/dowebplots	(revision 7306)
@@ -86,6 +86,9 @@
    tabfile=$path/$base-tab
    daterootfile=`date +%Y%m%d -r $rootfile`
-   dategiffile=0
    dategiffile=`date +%Y%m%d -r $tabfile1.gif`
+   if [ "$dategiffile" != "" ] 
+   then 
+      $dategiffile=0
+   fi
 #   now=`date +%Y%m%d`
 
@@ -104,5 +107,5 @@
       X=$((X+1))
       echo "$X's step"
-      ./showplot --save-as-ps=$tabfile$X -tab=$X $rootfile
+      ./showplot --save-as-ps=$tabfile$X --tab=$X $rootfile
       if ! ls $tabfile$X.ps
       then 
