Skip to content

Commit

Permalink
Include current directory in path
Browse files Browse the repository at this point in the history
  • Loading branch information
dspinellis committed Nov 22, 2016
1 parent c2b5168 commit 3903e64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bibget.pl
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ sub getcitation {
# Open fiel in BIBINPUTS path
my $in;
my $found;
for my $dir (split($sepchar, $bibinputs)) {
for my $dir ((split($sepchar, $bibinputs), '.')) {
if (open($in, "$dir/$ref_file.bib")) {
print STDERR "Reading references from $dir/$ref_file.bib\n";
$found = 1;
Expand Down

0 comments on commit 3903e64

Please sign in to comment.