On Sun, Nov 02, 2014 at 05:54:09PM +0100, Ludovic Courtès wrote:
> Andreas Enge <[email protected]> skribis:
> > should the final patch-shebangs phase not include the generated output
> > path (well, the bin subdirectory) in its $PATH?
> It already does.
Hm.
> > 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?
I think it already exists; the only thing between patch-shebangs and strip is
(setenv "PATH" (string-append (getenv "PATH") ":" out "/bin"))
(system* "updmap-sys" "--nohash" "--syncwithtrees")
(system* "mktexlsr")
(system* "fmtutil-sys" "--all")))
Andreas