Skip to content

Commit

Permalink
Update rsync_from_ncbi.pl
Browse files Browse the repository at this point in the history
Fix expected path for ncbi ftp site
  • Loading branch information
jenniferlu717 authored Dec 10, 2021
1 parent 493568d commit 4f648f5
Showing 1 changed file with 1 addition and 1 deletion.
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#^ftp://${qm_server}${qm_server_path}/##)) {
if (! ($full_path =~ s#^https://${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 4f648f5

Please sign in to comment.