Skip to content

Commit

Permalink
Fix error read input/include file
Browse files Browse the repository at this point in the history
  • Loading branch information
lksj authored and mquinson committed Sep 13, 2024
1 parent 16ceea8 commit 85b2932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Locale/Po4a/TeX.pm
Original file line number Diff line number Diff line change
Expand Up @@ -995,7 +995,7 @@ sub read_file {

# search the file
open( KPSEA, "kpsewhich " . $newfilename . " |" );
my $newfilepath = <KPSEA>;
chomp( my $newfilepath = <KPSEA> // '' );

if ( $newfilename ne "" and ( $newfilepath // '' ) eq '' ) {
die wrap_mod(
Expand Down

0 comments on commit 85b2932

Please sign in to comment.