329cf5cc379f5158995d59530a51aafd51dd11cb
hiram
  Fri May 8 09:23:23 2026 -0700
fortify against cron job usage full path to kent commands refs #31811

diff --git src/hg/makeDb/trackDb/makefile src/hg/makeDb/trackDb/makefile
index 8cbad246acb..225ee16c300 100644
--- src/hg/makeDb/trackDb/makefile
+++ src/hg/makeDb/trackDb/makefile
@@ -310,30 +310,30 @@
 
 # this will fail if we are not in a beta checkout:
 checkbeta:
 	${GIT} branch | egrep '^[*] v[0-9]+_branch' > /dev/null
 
 # not sure if anyone actually uses the target below. It used to be "beta".
 buildBeta: checkbeta clean strict
 
 encodeReport:
 	${GIT} pull
 	./loadTracks ${EXTRA} trackDb_encodeReport hgFindSpec ${DBS}
 
 listDbs:
 	@echo "# databases listed in trackDb/makefile DBS variable, with table counts"
 	@for D in ${DBS}; do \
-	    C=`hgsql -N -e "show tables;" $${D} 2> /dev/null | wc -l`; \
+	    C=`/cluster/bin/x86_64/hgsql -N -e "show tables;" $${D} 2> /dev/null | wc -l`; \
 	    if [ "$${C}" -gt 0 ]; then \
 		echo -e "$${D}\t$${C}"; \
 	    fi \
 	done
 
 test:
-	tdbQuery -check -release=alpha -strict "select count(*) from *" >/dev/null
-	tdbQuery -check -release=beta -strict "select count(*) from *" >/dev/null
-	tdbQuery -check -release=public -strict "select count(*) from *" >/dev/null
+	/cluster/bin/x86_64/tdbQuery -check -release=alpha -strict "select count(*) from *" >/dev/null
+	/cluster/bin/x86_64/tdbQuery -check -release=beta -strict "select count(*) from *" >/dev/null
+	/cluster/bin/x86_64/tdbQuery -check -release=public -strict "select count(*) from *" >/dev/null
 
 # Get rid of symbolic links (created by lower-level makefiles):
 clean:
 	find . -type l -exec rm {} \;