diff options
author | Daniel Jacobowitz <drow@false.org> | 2006-05-31 15:47:48 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2006-05-31 15:47:48 +0000 |
commit | f15f78bf554ccf7889d56a336995d5aec98429c0 (patch) | |
tree | 0ef69360c3873a15588227f4aaa47c07ab9fa4f9 /etc/texi2pod.pl | |
parent | 0505defa4af535a321a63b75efd1b2cbfea783bb (diff) | |
download | cygnal-f15f78bf554ccf7889d56a336995d5aec98429c0.tar.gz cygnal-f15f78bf554ccf7889d56a336995d5aec98429c0.tar.bz2 cygnal-f15f78bf554ccf7889d56a336995d5aec98429c0.zip |
* texi2pod.pl: Correct handling of absolute @include.
Diffstat (limited to 'etc/texi2pod.pl')
-rw-r--r-- | etc/texi2pod.pl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/texi2pod.pl b/etc/texi2pod.pl index 57d1d5bcd..ed0d102a1 100644 --- a/etc/texi2pod.pl +++ b/etc/texi2pod.pl @@ -239,8 +239,10 @@ while(<$inf>) { # Try cwd and $ibase, then explicit -I paths. $done = 0; - foreach $path (".", $ibase, @ipath) { - open($inf, "<" . $path . "/" . $file) and ($done = 1, last); + foreach $path ("", $ibase, @ipath) { + $mypath = $file; + $mypath = $path . "/" . $mypath if ($path ne ""); + open($inf, "<" . $mypath) and ($done = 1, last); } die "cannot find $file" if !$done; next; |