0201b0880739fab2da294d38254ab0deb1752899
jnavarr5
  Wed Jul 2 16:45:52 2025 -0700
Commiting changes that were active on hive but not in the source tree, no Redmine

diff --git src/hg/utils/otto/varChat/varChatOtto.sh src/hg/utils/otto/varChat/varChatOtto.sh
index 6e52890791f..7186990dbce 100755
--- src/hg/utils/otto/varChat/varChatOtto.sh
+++ src/hg/utils/otto/varChat/varChatOtto.sh
@@ -1,17 +1,19 @@
 #!/bin/bash
 
+set -e -o pipefile
+
 cd /hive/data/outside/otto/varChat
 
 wget -q https://ucsc-engenome-varchat.s3.eu-west-1.amazonaws.com/latest/VarChat_GRCh38_latest.bb -O varChat.hg38.latest.bb
 wget -q https://ucsc-engenome-varchat.s3.eu-west-1.amazonaws.com/latest/VarChat_GRCh37_latest.bb -O varChat.hg19.latest.bb
 
 # Check if the files are the same
 if cmp -s varChat.hg38.latest.bb varChat.hg38.bb; then
   # Files are the same, exit silently
   rm varChat.hg38.latest.bb
   rm varChat.hg19.latest.bb
   exit 0
 else
   # Files are different, continue with the script or add actions
   echo "Updating VarChat track..."
 fi