Re: magic headers
Hi,
Frank Küster <frank@debian.org> wrote:
> ,----
> | - shouldn't the executable-not-elf-or-script overrides in
> | texlive-pdfetex.override be fixed by inserting a real
> | "#! /usr/bin/perl ..." shebang line instead of using the override,
> | as I noted you did somewhere else (in some dpatches)?
> `----
>
> is: No, not if the script has a proper wrapper in /usr/bin. At a short
> glance, I couldn't find any dpatches changing magic headers. Florent,
> can you give a hint?
Looking at the source package texlive-bin, I see:
,----[ 11_fix_pkfix_invocation.dpatch ]
| --- ./build/TeX/texk/texlive/pkfix.orig 2005-10-13 21:28:57.000000000 +0200
| +++ ./build/TeX/texk/texlive/pkfix 2005-10-13 21:29:09.000000000 +0200
| @@ -1,7 +1,4 @@
| -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' && eval 'exec perl -S $0 $argv:q'
| - if 0;
| -use strict;
| -$^W=1; # turn warning on
| +#!/usr/bin/perl -w
`----
and similar stuff in 12_fix_epstopdf_invocation.dpatch.
Regards,
--
Florent
Reply to: