Skip to content

Commit

Permalink
bugfix to installation of example databases
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuels committed Mar 15, 2010
1 parent 55fe1a2 commit 8729142
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions install_util/GBrowseInstall.pm
Expand Up @@ -609,20 +609,10 @@ sub process_database_files {
while (<$f>) {
next unless m!^sample_data/!;
chomp;
my ($subdir,$subsubdir) = m!^sample_data/([^/]+)/?([^/]*)!;
if ($subsubdir) {
$self->copy_if_modified(from => $_,
to_dir => "blib/databases/$subdir/$subsubdir",
flatten => 1,
);

}
else {
$self->copy_if_modified(from => $_,
to_dir => "blib/databases/$subdir",
flatten => 1,
);
}
my $dest = $_; $dest =~ s|^sample_data/||;
$self->copy_if_modified(from => $_,
to => "blib/databases/$dest",
);
}
}

Expand Down

0 comments on commit 8729142

Please sign in to comment.