Andreas Enge <andr...@enge.fr> skribis:

> should the final patch-shebangs phase not include the generated output
> path (well, the bin subdirectory) in its $PATH?

It already does.

> In texlive I see lines such as
> patch-shebang: ./texmf-dist/tex/luatex/lualibs/lualibs-compat.lua: warning: 
> no binary for interpreter `texlua' found in $PATH

(And the mention of $PATH in this message is misleading.)

> The file starts with 
> #!/usr/bin/env texlua
> and texlua is a binary created in the texlive output (actually, bin/texlua is
> a symbolic link to the elf binary bin/luatex).

Could it be that the symlink doesn’t exist yet at the time the
‘patch-shebangs’ phase runs?

HTH,
Ludo’.

Reply via email to