Skip to content

Commit

Permalink
Merge pull request #82 from RosettaCommons/danpf/fix_install_deps
Browse files Browse the repository at this point in the history
make install deps copy files not folders (when using localnrcopy)
  • Loading branch information
danpf authored Jun 19, 2019
2 parents 87e370d + b3c7e3f commit 3ab0fe1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fragment_tools/install_dependencies.pl
Original file line number Diff line number Diff line change
Expand Up @@ -302,9 +302,9 @@
chdir($Bin);

if (!$skip_nr && $database eq "localnrcopy" && ($overwrite || !-s "$datdir/nr.pal")) {
print "Copying your local nr database to $datdir\n...";
my $copy_cmd = "rsync -rav $ENV{'LOCAL_NR_COPY'} $datdir";
print $copy_cmd;
print "Copying your local nr database to $datdir...\n";
my $copy_cmd = "rsync -rav $ENV{'LOCAL_NR_COPY'}/* $datdir";
print "$copy_cmd\n";
system($copy_cmd);

$SIG{INT} = \&clean_nr;
Expand Down

0 comments on commit 3ab0fe1

Please sign in to comment.