Update package.py (#18552)
without setting the build enviroment, the installation fails with ``` 1 error found in build log: 35946 fmtutil [INFO]: /usr/local/pkg/Installs/linux-ubuntu18.04-skylake_avx512/gcc7.4.0/texlive/20190410/rgs2nakycorkgzno/t exmf-var/web2c/pdftex/pdfcslatex.fmt installed. 35947 fmtutil [INFO]: Disabled formats: 6 35948 fmtutil [INFO]: Successfully rebuilt formats: 45 35949 fmtutil [INFO]: Total formats: 51 35950 fmtutil [INFO]: exiting with status 0 35951 ==> [2020-09-07-21:23:21.482745] '/usr/local/pkg/Installs/linux-ubuntu18.04-skylake_avx512/gcc7.4.0/texlive/20190410/ rgs2nakycorkgzno/bin/x86_64-linux/mtxrun' '--generate' >> 35952 /usr/bin/env: 'texlua': No such file or directory ``` May be there is a better way...
This commit is contained in:
parent
af189e3ed9
commit
e2e90e4d6b
1 changed files with 3 additions and 0 deletions
|
@ -172,6 +172,9 @@ def setup_texlive(self):
|
||||||
else:
|
else:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
def setup_build_environment(self, env):
|
||||||
|
env.prepend_path('PATH', join_path(self.prefix.bin, self.tex_arch()))
|
||||||
|
|
||||||
def setup_run_environment(self, env):
|
def setup_run_environment(self, env):
|
||||||
env.prepend_path('PATH', join_path(self.prefix.bin, self.tex_arch()))
|
env.prepend_path('PATH', join_path(self.prefix.bin, self.tex_arch()))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue