[Po4a-commits] "po4a/lib/Locale/Po4a TeX.pm,1.73,1.74"
Nicolas FRANCOIS
nekral-guest at alioth.debian.org
Wed Sep 21 20:11:43 UTC 2005
Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory haydn:/tmp/cvs-serv18137/lib/Locale/Po4a
Modified Files:
TeX.pm
Log Message:
An empty or undefined path means the current directory.
Index: TeX.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/TeX.pm,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -d -r1.73 -r1.74
--- TeX.pm 21 Sep 2005 19:57:36 -0000 1.73
+++ TeX.pm 21 Sep 2005 20:11:40 -0000 1.74
@@ -977,6 +977,9 @@
defined($ENV{"TEXINPUTS"})?
split(/:/, $ENV{"TEXINPUTS"}):
".")) {
+ if ((not defined $_) or (not length $_)) {
+ $_ = ".";
+ }
if (-r $_."/".$filename) {
$filename = $_."/".$filename;
last;
More information about the Po4a-commits
mailing list