b6999503af29255b9956d018763bdc6b46965d36 hiram Fri Oct 31 14:42:29 2025 -0700 more cleanup diff --git src/hg/utils/automation/doLongdust.pl src/hg/utils/automation/doLongdust.pl index 2119932a750..47c1a43dc93 100755 --- src/hg/utils/automation/doLongdust.pl +++ src/hg/utils/automation/doLongdust.pl @@ -232,31 +232,31 @@ } #doBedResult ######################################################################### # * step: cleanup [fileServer] sub doCleanup { my $runDir = "$buildDir"; if ( ! $opt_debug && ( ! -d "$runDir/tmp" && ! -d "$runDir/result")) { printf STDERR "# cleanup step already complete\n"; return; } my $whatItDoes = "Cleans up or compresses intermediate files."; my $fileServer = $opt_debug ? "hgwdev" : HgAutomate::chooseFileServer($runDir); my $bossScript = newBash HgRemoteScript("$runDir/cleanup.bash", $fileServer, $runDir, $whatItDoes); $bossScript->add(<<_EOF_ -rm -fr tmp result +rm -fr tmp result liftFiles err part.list chrom.sizes _EOF_ ); $bossScript->execute() if (! $opt_debug); } # doCleanup ######################################################################### # main # Prevent "Suspended (tty input)" hanging: HgAutomate::closeStdin(); # Make sure we have valid options and exactly 1 argument: checkOptions(); usage(1) if (scalar(@ARGV) != 2); my $secondsStart = `date "+%s"`;