Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions KronaTools/updateTaxonomy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
Expand All @@ -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
Expand Down