38e8bc506420f5605d5fd8a0b0ccc813b68f5b7b
mspeir
  Tue Jan 10 13:19:11 2017 -0800
Adding exception for genome-asia to and if statement. Part of work to make genome-asia show up in updateTimes output, refs #18617

diff --git src/utils/qa/getTableStatus.csh src/utils/qa/getTableStatus.csh
index 75f9c6b..4d0af78 100755
--- src/utils/qa/getTableStatus.csh
+++ src/utils/qa/getTableStatus.csh
@@ -43,31 +43,31 @@
 
 if ( $mach == euronode ) then
   set mach="genome-euro"
 endif
 
 checkMachineName.csh $mach
 if ( $status ) then
   exit 1
 endif
 
 # get the STATUS
 set url1="http://"
 set url2a=".cse"
 set url2=".ucsc.edu/cgi-bin/hgTables?db=$db&hgta_doMetaData=1"
 set url3="&hgta_metaStatus=1"
-if ( $mach == genome-euro ) then
+if ( $mach == genome-euro || $mach == genome-asia ) then
   set url="$url1$mach$url2$url3"
 else
   set url="$url1$mach$url2a$url2$url3"
 endif
 
 wget -q -O $mach.tempfile "$url"
 if ( $db != `head -1 $mach.tempfile | awk '{print $NF}'` ) then
   # does not allow uniProt or visiGene, etc to work.  
   # hgTables.doMetaData sets the db variable to hg18 if not an assembly
   echo
   echo "  $db is not a valid database on $mach"
   echo
   rm -f $mach.tempfile
   exit 1
 endif