diff --git a/KronaTools/updateTaxonomy.sh b/KronaTools/updateTaxonomy.sh index 2f1df38..9614cad 100755 --- a/KronaTools/updateTaxonomy.sh +++ b/KronaTools/updateTaxonomy.sh @@ -112,7 +112,7 @@ function fetch echo "Fetching $description$depDesc..." - curl$timestring -s -R --retry 1 -o $name ftp://ftp.ncbi.nih.gov/pub/taxonomy/$prefix/$name + curl$timestring -s -R --retry 1 -o $name https://ftp.ncbi.nlm.nih.gov/pub/taxonomy/$prefix/$name return=$? if [ $return == "23" ] @@ -129,7 +129,7 @@ function fetch then echo " Fetching checksum..." - curl -s -R --retry 1 -o $name.md5 ftp://ftp.ncbi.nih.gov/pub/taxonomy/$prefix/$name.md5 + curl -s -R --retry 1 -o $name.md5 https://ftp.ncbi.nlm.nih.gov/pub/taxonomy/$prefix/$name.md5 checksum=$($MD5 $name | cut -d ' ' -f 1) checksumRef=$(cut -d ' ' -f 1 $name.md5) rm $name.md5