Skip to content

Commit

Permalink
revert the change to https
Browse files Browse the repository at this point in the history
  • Loading branch information
BenLangmead committed May 9, 2022
1 parent 4f648f5 commit 21ad9a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/download_genomic_library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ set -e # Stop on error

LIBRARY_DIR="$KRAKEN2_DB_NAME/library"
NCBI_SERVER="ftp.ncbi.nlm.nih.gov"
FTP_SERVER="https://$NCBI_SERVER"
FTP_SERVER="ftp://$NCBI_SERVER"
RSYNC_SERVER="rsync://$NCBI_SERVER"
THIS_DIR=$PWD

Expand Down
2 changes: 1 addition & 1 deletion scripts/rsync_from_ncbi.pl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
my $full_path = $ftp_path . "/" . basename($ftp_path) . $suffix;
# strip off server/leading dir name to allow --files-from= to work w/ rsync
# also allows filenames to just start with "all/", which is nice
if (! ($full_path =~ s#^https://${qm_server}${qm_server_path}/##)) {
if (! ($full_path =~ s#^ftp://${qm_server}${qm_server_path}/##)) {
die "$PROG: unexpected FTP path (new server?) for $ftp_path\n";
}
$manifest{$full_path} = $taxid;
Expand Down

0 comments on commit 21ad9a0

Please sign in to comment.