Skip to content
Snippets Groups Projects
Commit 3c2937aa authored by Andy Yates's avatar Andy Yates
Browse files

Bad command line arg

parent d697b520
No related branches found
No related tags found
No related merge requests found
......@@ -103,7 +103,7 @@ sub index_file {
my $db_title = $self->db_title($file);
my $date = $self->db_date();
my $cmd = sprintf(q{%s %s -q%d -I -t %s -d %s --o %s %s },
my $cmd = sprintf(q{%s %s -q%d -I -t %s -d %s -o %s %s },
$self->param('program'), $molecule_arg, $silence, $db_title, $date, $target_file, $file);
$self->info('About to run "%s"', $cmd);
......@@ -130,8 +130,9 @@ sub target_dir {
sub db_title {
my ($self, $source_file) = @_;
my ($vol, $dir, $file) = File::Spec->splitpath($source_file);
my $release = $self->param('release');
my $title = $source_file;
my $title = $file;
$title =~ s/$release\.//;
return $title;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment