63ecd290dc939b85a1c4cfe01384925076ac0c73
hiram
  Wed Dec 6 18:32:11 2023 -0800
correct reference to RepeatModeler binary to record modelerVersion.txt refs #29545

diff --git src/hg/utils/automation/doRepeatModeler.pl src/hg/utils/automation/doRepeatModeler.pl
index a791e8d..a028beb 100755
--- src/hg/utils/automation/doRepeatModeler.pl
+++ src/hg/utils/automation/doRepeatModeler.pl
@@ -201,31 +201,31 @@
 export threadCount="${threadCount}"
 export rModeler="${RepeatModeler}"
 
 time (\$rModeler -engine ncbi \$threadCount -database "\${asmId}") > modeler.log 2>&1
 rsync --exclude "do.log" -a -P ./ "${runDir}/"
 cd "${runDir}"
 rm -fr "\${tmpDir}/"
 chmod 775 "${runDir}"
 ' > oneJob
 chmod +x oneJob
 printf "oneJob ${db} {check out line+ ${db}-rmod.log}\n" > jobList
 para make $parasolOpts jobList
 para check
 para time > run.time
 cat run.time
-\$rModeler -version > "${runDir}/modelerVersion.txt"
+"${RepeatModeler}" -version > "${runDir}/modelerVersion.txt"
 
 _EOF_
   );
   $bossScript->execute() if (! $opt_debug);
 } # doCluster
 
 #########################################################################
 # * step: cleanup [workhorse]
 sub doCleanup {
   my $runDir = "$buildDir";
 
   # First, make sure previous step has completed:
   if ( ! $opt_debug ) {
     if ( -s "$runDir/run.time" && ! -s "$runDir/${db}-families.fa" ) {
       die "cleanup: previous 'cluster' step appears to be broken, run.time is present but ${db}-families.fa is not present ?";