* texfont batch mode: looks for texfont.pl instead of $0
@ 2003-09-07 21:23 Christopher Creutzig
0 siblings, 0 replies; only message in thread
From: Christopher Creutzig @ 2003-09-07 21:23 UTC (permalink / raw)
Hans,
texfont type-tmf.dat --en=texnansi --fontroot /Users/ccr/Library/texmf/
fails with
Can't open perl script "/Users/ccr/bin/texfont.pl": No such file or
directory
batch line : --en=texnansi --ve=public --co=antt --so=auto
etc. Now, /Users/ccr/bin/texfont is a symbolic link to texfont.pl in
the installation, so this can't work. The problem is here:
my $own_path = "$FindBin::Bin/" ;
$FindBin::RealScript =~ m/([^\.]*)(\.pl|\.bat|\.exe|)/io ;
Either use $FindBin::RealBin in the first line or use $FindBin::Script
in the second line. Mixing the tweo breaks as soon as symbolic links
are involved that change the suffix.
regards,
Christopher Creutzig
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-09-07 21:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-07 21:23 texfont batch mode: looks for texfont.pl instead of $0 Christopher Creutzig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).