Skip to content

Commit

Permalink
Fixed output file glitch
Browse files Browse the repository at this point in the history
  • Loading branch information
plk committed Dec 20, 2012
1 parent 49a959d commit 7f12f54
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bin/biber
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,10 @@ else {
if (Biber::Config->getoption('output_format') eq 'dot') { # .dot output
$outfile = $bcf =~ s/bcf$/dot/r;
}
elsif (Biber::Config->getoption('tool_datatype') eq 'bibtex') { # tool .bib output
$outfile = $ARGV[0] =~ s/.bib$/_bibertool.bib/r;
elsif (Biber::Config->getoption('tool')) {
if (Biber::Config->getoption('tool_datatype') eq 'bibtex') { # tool .bib output
$outfile = $ARGV[0] =~ s/.bib$/_bibertool.bib/r;
}
}
else { # .bbl output
$outfile = $bcf =~ s/bcf$/bbl/r;
Expand Down

0 comments on commit 7f12f54

Please sign in to comment.