55ed63b493027583cbd68e954b9ced58d608fba8 hiram Fri May 8 10:15:15 2026 -0700 fortify against cron job usage full path to kent commands refs #31811 diff --git src/hg/makeDb/trackDb/hubTxtFromGenArk.pl src/hg/makeDb/trackDb/hubTxtFromGenArk.pl index f82decc75cc..94c541f3979 100755 --- src/hg/makeDb/trackDb/hubTxtFromGenArk.pl +++ src/hg/makeDb/trackDb/hubTxtFromGenArk.pl @@ -47,31 +47,31 @@ exit 255; } my $hubTxt = "${gbDbPath}/hub.txt"; if ( ! -s "${hubTxt}" ) { printf STDERR "ERROR: can not find hub.txt:\n%s\n", $hubTxt; exit 255; } open (my $tdb, ">", $trackDbOut) or die "can not write to $trackDbOut"; my $stanza = ""; my $stanzaLine = 0; my $firstTrack = 1; -my ($hubShortLabel, $hubLongLabel) = split(/\t/, `hgsql -N -e 'SELECT description, sourceName FROM dbDb WHERE name="${db}";' hgcentraltest`); +my ($hubShortLabel, $hubLongLabel) = split(/\t/, `/cluster/bin/x86_64/hgsql -N -e 'SELECT description, sourceName FROM dbDb WHERE name="${db}";' hgcentraltest`); chomp $hubShortLabel; chomp $hubLongLabel; open (my $fh, "<", ${hubTxt}) or die "can not read $hubTxt"; while (my $line = <$fh>) { chomp $line; if (length($line) < 1) { next; } $line =~ s/^\s+//; if ($line =~ m/^hub\s/) { $stanza = "hub"; $stanzaLine = 0; } elsif ($line =~ m/^genome\s/) { $stanza = "genome";