d25bea3289a29e2c24fa84bd84285ecb4a0d1188 hiram Fri May 8 09:14:31 2026 -0700 fortify against cron job usage full path to kent commands refs #31811 diff --git src/hg/makeDb/trackDb/loadTracks src/hg/makeDb/trackDb/loadTracks index be268b54521..164f6598ea6 100755 --- src/hg/makeDb/trackDb/loadTracks +++ src/hg/makeDb/trackDb/loadTracks @@ -104,35 +104,35 @@ if [ -n "$settings" ] ; then topts="$topts -settings" fi if [ -n "$raName" ] ; then topts="$topts -raName=$raName" fopts="$fopts -raName=$raName" fi if [ -n "$gbdbList" ] ; then topts="$topts -gbdbList=$gbdbList" fi # don't use set -x, since the autoload scripts e-mail stderr. local cmd="$HOME/bin/x86_64/hgTrackDb $topts $org $db $trackDb ${sqlDir}/trackDb.sql ." echo $cmd eval $cmd - cmd="tdbQuery $qopts 'select count(*) from $db' -root=`pwd`" + cmd="/cluster/bin/x86_64/tdbQuery $qopts 'select count(*) from $db' -root=`pwd`" echo $cmd eval $cmd - cmd="hgFindSpec $fopts $org $db $hgFindSpec ${sqlDir}/hgFindSpec.sql ." + cmd="/cluster/bin/x86_64/hgFindSpec $fopts $org $db $hgFindSpec ${sqlDir}/hgFindSpec.sql ." echo $cmd eval $cmd if [ -n "$noHtmlCheck" -a -f $dbpath/description.html ] ; then if [ "X${UNAME_N}Y" = "XhgwdevY" ]; then if [ ! -L /gbdb/$db/html -a -d /hive/data/genomes/$db/html ]; then rm -f /gbdb/$db/html/description.html rmdir /gbdb/$db/html ln -s /hive/data/genomes/$db/html /gbdb/$db/html fi if [ -f /gbdb/$db/html/description.html ]; then rm -f /gbdb/$db/html/description.html fi fi if [ $dbpath/description.html -nt /gbdb/$db/html/description.html ]; then rm -f /gbdb/$db/html/description.html