daf86f8075efae8886a3d88dc0ab6b763dd6cb1c brianlee Wed Dec 5 16:08:35 2018 -0800 Changing hgGateway to hgBlat to allow htmlcheck getVars to return hgsid, in the past in 2007 when this script was working it would return values, but hgGateway changed, so update allows hgsid to be assigned in this code, discovered by Hiram and Conner in reviewing error logs. diff --git src/utils/qa/checkTrackUiLinks.csh src/utils/qa/checkTrackUiLinks.csh index 964c568..9a92c24 100755 --- src/utils/qa/checkTrackUiLinks.csh +++ src/utils/qa/checkTrackUiLinks.csh @@ -66,31 +66,31 @@ if ( $status ) then exit 1 endif endif # check if it is a file or a tablename and set list file $tableinput | egrep "ASCII text" > /dev/null if (! $status) then set tables=`cat $tableinput` else set tables=$tableinput endif # set hgsid so don't fill up sessionDb table set baseUrl="http://$machine.soe.ucsc.edu" -set hgsid=`htmlCheck getVars $baseUrl/cgi-bin/hgGateway | grep hgsid \ +set hgsid=`htmlCheck getVars $baseUrl/cgi-bin/hgBlat | grep hgsid \ | head -1 | awk '{print $4}'` echo "hgw1 hgw2 hgw3 hgw4 hgw5 hgw6" | grep $machine if ( $status ) then set rr="true" endif # process descriptions page for "all" choice if ( "all" == $tableinput ) then if ( "hgwdev" != "$machine" ) then set host="-h $sqlbeta" endif set tables=`hgsql $host -Ne "SELECT tableName FROM trackDb WHERE html != ''" $db` set tables="description.html $tables" endif