src/utils/qa/tableDumpDates.csh 1.3

1.3 2009/04/14 02:00:58 rhead
Changing from which to dirname to find path of qaConfig.csh file.
Index: src/utils/qa/tableDumpDates.csh
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/utils/qa/tableDumpDates.csh,v
retrieving revision 1.2
retrieving revision 1.3
diff -b -B -U 1000000 -r1.2 -r1.3
--- src/utils/qa/tableDumpDates.csh	11 Apr 2009 00:37:05 -0000	1.2
+++ src/utils/qa/tableDumpDates.csh	14 Apr 2009 02:00:58 -0000	1.3
@@ -1,36 +1,35 @@
 #!/bin/tcsh
-source `which qaConfig.csh`
-
+source `dirname $0`/qaConfig.csh
 ###############################################
 #
 #  09-16-2008
 #  Ann Zweig
 #
 #  Checks to see if the tables are being dumped 
 #  from the RR machines in a timely manner.
 #
 ###############################################
 
 set counter=( 1 2 3 4 5 6 7 8 )
 
 if ($#argv != 1 ) then
   echo
   echo "  get date of latest table dumps from rr machines."
   echo
   echo "    usage: go"
   echo
   exit
 endif
 
 # run only from hgwdev
 if ( "$HOST" != "hgwdev" ) then
   echo "\nERROR: you must run this script on hgwdev!\n"
   exit 1
 endif
 
 foreach i ( $counter )
   ls -lt /cluster/data/genbank/var/tblstats/hgw[$i] | head -n2 | egrep -v total \
   | awk '{print $9}'
 end