[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#31123] [PATCH 2/2] gnu: texlive-bin: Patch texlua shebangs.
From: |
Arun Isaac |
Subject: |
[bug#31123] [PATCH 2/2] gnu: texlive-bin: Patch texlua shebangs. |
Date: |
Sat, 21 Apr 2018 00:15:09 +0530 |
>> (with-directory-excursion "texlive-extra"
>> (apply unpack (list #:source texlive-extra))
>> (apply patch-source-shebangs (list #:source texlive-extra))
>> - (invoke "mv" "tlpkg" share))))))))
>> + (invoke "mv" "tlpkg" share))
>> + ;; texlua shebangs are not patched by the
>> patch-source-shebangs
>> + ;; phase because the texlua executable does not exist at that
>> + ;; time.
>> + (setenv "PATH" (string-append (getenv "PATH") ":" out
>> "/bin"))
>> + (with-directory-excursion out
>> + (patch-source-shebangs))))))))
>
> Would it suffice to only patch "out/bin" here?
No, it wouldn't suffice to patch only out/bin. There are files in
share/texmf-dist/scripts/texlive that have texlua shebangs.
> Also, what is the return value of (patch-source-shebangs)? If it's
> anything other than #t, you know what to do. Apart from that LGTM.
patch-source-shebangs is a phase in the gnu-build-system. Currently, it
does not return #t. But, that is a problem with the gnu-build-system,
and must be fixed there.
[bug#31123] [PATCH 1/2] gnu: texlive-bin: Use ghostscript executable "gs" in ps2eps., Marius Bakke, 2018/04/16