src/utils/qa/trackDb_compare.csh 1.4

1.4 2009/04/11 00:37:05 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/trackDb_compare.csh
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/utils/qa/trackDb_compare.csh,v
retrieving revision 1.3
retrieving revision 1.4
diff -b -B -U 4 -r1.3 -r1.4
--- src/utils/qa/trackDb_compare.csh	24 Mar 2009 19:10:45 -0000	1.3
+++ src/utils/qa/trackDb_compare.csh	11 Apr 2009 00:37:05 -0000	1.4
@@ -1,5 +1,6 @@
 #! /bin/tcsh
+source `which qaConfig.csh`
 
 
 ############################
 #
@@ -32,9 +33,9 @@
 
 echo
 echo "Compare tableName, shortLabel and type fields"
 hgsql -N -e "SELECT tableName, shortLabel, type FROM $table" $db_dev | sort > $db_dev.$table.hgwdev.comp1.sort.txt
-hgsql -h hgwbeta -N -e "SELECT tableName, shortLabel, type FROM $table" $db_beta | sort > $db_beta.$table.hgwbeta.comp1.sort.txt
+hgsql -h $sqlbeta -N -e "SELECT tableName, shortLabel, type FROM $table" $db_beta | sort > $db_beta.$table.hgwbeta.comp1.sort.txt
 
 # Determine lines uniq to dev and beta
 set uniqDev=`comm -23 $db_dev.$table.hgwdev.comp1.sort.txt $db_beta.$table.hgwbeta.comp1.sort.txt | wc -l`
 set uniqBeta=`comm -13 $db_dev.$table.hgwdev.comp1.sort.txt $db_beta.$table.hgwbeta.comp1.sort.txt | wc -l`