src/utils/qa/updateTimes.csh 1.29

1.29 2010/03/17 23:53:21 rhead
b0b hates the labels. Reverting to label only on trackDb_public.
Index: src/utils/qa/updateTimes.csh
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/utils/qa/updateTimes.csh,v
retrieving revision 1.28
retrieving revision 1.29
diff -b -B -U 4 -r1.28 -r1.29
--- src/utils/qa/updateTimes.csh	17 Mar 2010 19:39:24 -0000	1.28
+++ src/utils/qa/updateTimes.csh	17 Mar 2010 23:53:21 -0000	1.29
@@ -55,36 +55,39 @@
   echo "============="
 
   set first=`hgsql -N -e 'SHOW TABLE STATUS LIKE "'$table'"' $db \
     | awk '{print $14, $15}'`
-  if ( "$first" == ""  ) then # put some spaces in so labels line up
-      set first="                   "
+  if ( $status ) then
+    echo "."
+    continue
   endif
 
   set second=`hgsql -h $sqlbeta -N -e 'SHOW TABLE STATUS LIKE "'$table'"' $db \
     | awk '{print $14, $15}'`
-  if ( "$second" == "" ) then
-      set second="                   "
+  if ( $status ) then
+    echo "."
+    continue
   endif
 
   if ( "$table" == "trackDb" ) then
     set third=`hgsql -h $sqlbeta -N -e 'SHOW TABLE STATUS LIKE "'trackDb_public'"' $db \
       | awk '{print $14, $15}'`
-    if ( "$third" == "" ) then
-      set third="                   "
+    if ( $status ) then
+      echo "."
+      continue
     endif
   endif
 
   set fourth=`getRRtableStatus.csh $db $table Update_time`
-  if ( $status ) then #check status here because contents could be error msg 
-    set fourth="                   "
+  if ( $status ) then
+    set fourth=""
   endif
 
-  echo ".$first $HOST"
-  echo ".$second $sqlbeta"
+  echo "."$first
+  echo "."$second
   if ( "$table" == "trackDb" ) then
-    echo ".$third $sqlbeta (trackDb_public)"
+    echo "."$third "(trackDb_public)"
   endif
   echo
-  echo ".$fourth RR"
+  echo "."$fourth
 end
 echo