58335a3163bdc1d004cd90e61124acfff01fc6d0
gperez2
  Tue Sep 6 16:39:56 2022 -0700
Editing the script to have curl.bad due to /bin/curl getting changed, no RM

diff --git src/utils/qa/hubPublicAutoUpdate src/utils/qa/hubPublicAutoUpdate
index 9b58616..4815727 100755
--- src/utils/qa/hubPublicAutoUpdate
+++ src/utils/qa/hubPublicAutoUpdate
@@ -74,31 +74,31 @@
         hubPublicDic[hub[0]] = {'hubUrl':hub[0],'shortLabel':hub[1],'longLabel':hub[2],\
                             'registrationTime':hub[3],'dbCount':hub[4],\
                             'dbList':hub[5],'descriptionUrl':hub[5]}
     return(hubPublicDic)
 
 def escapeDoubleQuotesOnLabels(label):
     """Look for single and double quotes in labels"""
     if '"' in label:
         label = label.replace('"','\\"')
     if "'" in label:
         label = label.replace("'","\\'")
     return(label)
 
 def curl(url):
     """Run curl command on URL - for http + ftp support"""
-    rawCurlOutput = subprocess.run("/cluster/software/bin/curl --user-agent \"genome.ucsc.edu/net.c\" -skL --fail --connect-timeout 10.0 "+url,\
+    rawCurlOutput = subprocess.run("/cluster/software/bin/curl.bad --user-agent \"genome.ucsc.edu/net.c\" -skL --fail --connect-timeout 10.0 "+url,\
                          check=True, shell=True, stdout=subprocess.PIPE, universal_newlines=True)
     curlStdout = rawCurlOutput.stdout
     return(curlStdout)
 
 def buildCurrentHubTxtDic(hub):
     """Query hub.txt file and build dic of values"""
     currentHub = {}
     response = curl(hub)
     for line in response.splitlines():
         if "\t" in line.rstrip():
             line = line.split("\t")
             currentHub[line[0]] = line[1]
         else:
             line = line.split(" ")
             currentHub[line[0]] = " ".join(line[1:])