4cbeaf5dc4cfdbf36a4bf93685a95e2189102e7b hiram Wed Sep 4 09:56:08 2024 -0700 correct typo error in script for archiving files refs #33088 diff --git src/hg/utils/automation/doNcbiRefSeq.pl src/hg/utils/automation/doNcbiRefSeq.pl index 3cb410c..31516a6 100755 --- src/hg/utils/automation/doNcbiRefSeq.pl +++ src/hg/utils/automation/doNcbiRefSeq.pl @@ -918,31 +918,31 @@ rm -f /usr/local/apache/htdocs-hgdownload/goldenPath/archive/\$db/ncbiRefSeq/\$verString/\$db.\$verString.ncbiRefSeq.gtf.gz ln -s `pwd`/\$db.*.ncbiRefSeq.gtf.gz \\ /usr/local/apache/htdocs-hgdownload/goldenPath/archive/\$db/ncbiRefSeq/\$verString/\$db.\$verString.ncbiRefSeq.gtf.gz fi export DS=`date "+%%F"` export gpDir="/usr/local/apache/htdocs-hgdownload/goldenPath/\$db/bigZips/genes" rm -f \$gpDir/\$db.ncbiRefSeq.gtf.gz mkdir -p \$gpDir ln -s `pwd`/\$db.*.ncbiRefSeq.gtf.gz \$gpDir/\$db.ncbiRefSeq.gtf.gz export md5Sum="\$gpDir/md5sum.txt" export here=`pwd` if [ -s "\$md5Sum" ]; then origSum=`realpath \$md5Sum` bakFile="\${origSum}.\$DS" - if [! -s "\$bakFIle" ]; then + if [! -s "\$bakFile" ]; then mv \$origSum \$bakFile cd \$gpDir md5sum *gz > \$origSum fi fi cd \$here featureBits \$db ncbiRefSeq > fb.ncbiRefSeq.\$db.txt 2>&1 cat fb.ncbiRefSeq.\$db.txt 2>&1 _EOF_ ); } # if ($dbExists) $bossScript->execute(); } # doLoad #########################################################################