4947432ba44023db07f1dd6be03d39756716aeb1
hiram
  Thu Apr 14 18:13:09 2022 -0700
do not leave temporary hub.txt around for garbage no redmine

diff --git src/hg/makeDb/doc/chm13v2.0/makefile src/hg/makeDb/doc/chm13v2.0/makefile
index c6be334..a223e47 100644
--- src/hg/makeDb/doc/chm13v2.0/makefile
+++ src/hg/makeDb/doc/chm13v2.0/makefile
@@ -90,15 +90,16 @@
 	rm -f hub.txt
 
 singleFileHub: ${hubTxt}
 	@rm -f hub.txt
 	@grep -v genomesFile hub/${asmId}.hub.txt > hub.txt
 	@printf "useOneFile on\n\n" >> hub.txt
 	@grep -v trackDb hub/${asmId}.genomes.txt >> hub.txt
 	@echo >> hub.txt
 	@cat trackDb/${asmId}.trackDb.txt >> hub.txt
 	@cp --remove-destination -p hub.txt ${stageDir}/${asmId}.singleFile.hub.txt
 	@cp --remove-destination -p hub.txt ${stageDir}/${asmId}.download.hub.txt
 	@cp --remove-destination -p hub/${asmId}.groups.txt ${stageDir}/
 	@cp --remove-destination -p hub/${asmId}.genomes.txt ${stageDir}/
 	cp --remove-destination -p hub/${asmId}.hub.txt ${stageDir}/
 	cp --remove-destination -p trackDb/${asmId}.trackDb.txt ${stageDir}/
+	@rm -f hub.txt