src/utils/qa/qaEnsGenes.csh 1.22

1.22 2009/04/11 00:37:04 rhead
Sourced new qaConfig file at the top. Changed -h hgwbeta lines to look for sql host stored in a variable, specified in the new qaConfig file.
Index: src/utils/qa/qaEnsGenes.csh
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/utils/qa/qaEnsGenes.csh,v
retrieving revision 1.21
retrieving revision 1.22
diff -b -B -U 4 -r1.21 -r1.22
--- src/utils/qa/qaEnsGenes.csh	24 Mar 2009 19:10:45 -0000	1.21
+++ src/utils/qa/qaEnsGenes.csh	11 Apr 2009 00:37:04 -0000	1.22
@@ -1,5 +1,6 @@
 #!/bin/tcsh
+source `which qaConfig.csh`
 
 ###############################################
 # 
 #  03-18-08
@@ -62,9 +63,9 @@
   echo "\nERROR: there is no update available for version number $ver\n"
   exit 1
  else # updates for this ensGene version exist
   foreach db ($dbs)
-   set onBeta=`hgsql -h hgwbeta -Ne "SELECT name FROM dbDb \
+   set onBeta=`hgsql -h $sqlbeta -Ne "SELECT name FROM dbDb \
    WHERE name = '$db' AND active = 1" hgcentralbeta`
 
    if ( "" == "$onBeta" ) then
     echo $db >> xxNotActive$$