![](https://secure.gravatar.com/avatar/29c7bbff49b1599eddb2ec73fd9ffa6e.jpg?s=120&d=mm&r=g)
11 Jun
2009
11 Jun
'09
12:26 p.m.
When loading minimals with a shell script it appears that setuptex takes arguments from the calling shell script: script called as "script --current" contains: ... source ./setuptex ... This result in the following error message: mktexlsr: Done. The argument "/Users/hans/TeX/context/current/tex/--current" is not a valid TEXROOT path. There is no file "/Users/hans/TeX/context/current/tex/--current/texmf/ tex/plain/base/plain.tex" Setting "/Users/hans/TeX/context/current/tex" as TEXROOT instead. I guess this cannot be the intent of setuptex. It was the intention to just use /Users/hans/TeX/context/current/tex/ as the TEXROOT path. Is there a simple solution? Hans van der Meer