[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch-shebangs phase and created binaries
From: |
Andreas Enge |
Subject: |
Re: Patch-shebangs phase and created binaries |
Date: |
Sun, 2 Nov 2014 18:48:27 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Sun, Nov 02, 2014 at 05:54:09PM +0100, Ludovic Courtès wrote:
> Andreas Enge <address@hidden> 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