Bug#483966: pdfetex fails when run under a directory whose name contains a tilde
Package: texlive-base-bin
Version: 2007.dfsg.1-3+b1
Severity: normal
Tags: patch
With the option --clean, texi2dvi calls pdfetex which fails when the
current directory contains a tilde in its name:
$ pwd
~/src/debian/ram/libaws-2.5~124785/docs # note the tilde
$ texi2dvi -p --expand --clean aws.texi
/usr/bin/texi2dvi: Running pdfetex --file-line-error '/home/lbrenta/src/debian/ram/libaws-2.5~124785/docs/aws.t2d/pdf/src/aws.texi' ...
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
file:line:error style messages enabled.
%&-line parsing enabled.
entering extended mode
! I can't find file `/home/lbrenta/src/debian/ram/libaws-2.5'.
<to be read again>
\penalty
~->\penalty
\@M \
<*> /home/lbrenta/src/debian/ram/libaws-2.5~
124785/docs/aws.t2d/pdf/src/aws....
Please type another input file name:
I found that a workaround was to use --build-dir instead of --clean
and to make sure the specified build directory does not contain a
tilde in its name; for example:
$ texi2dvi -p --expand --build-dir=$(mktemp -d) aws.texi
--
Ludovic Brenta.
Reply to: