13ca91a9d4a1ed3169fb78c4f39be9cbe5eb4869 hiram Tue Feb 2 14:48:17 2021 -0800 scripts used on hgdownload to construct text list of hubs and top level index.html page refs #23891 diff --git src/hg/makeDb/doc/asmHubs/hubIndex.pl src/hg/makeDb/doc/asmHubs/hubIndex.pl new file mode 100755 index 0000000..45bd9cf --- /dev/null +++ src/hg/makeDb/doc/asmHubs/hubIndex.pl @@ -0,0 +1,210 @@ +#!/usr/bin/env perl + +use strict; +use warnings; +use File::Basename; + +my $thisMachine = `uname -n`; +chomp $thisMachine; + +if ($thisMachine ne "hgdownload") { + printf STDERR "# NOTE: This script is only used on hgdownload\n"; + exit 255; +} + +############################################################################# +sub startHtml() { +printf ' + + + + + +