Tiny Core Extensions > TCE Q&A Forum

export PATH doesn't work

(1/3) > >>

Xianwen Chen:
Dear TCLers,

I'm making texlive-latex 2009 package for TCL. A start up script "texlive-latex" is packed inside the squashfs file, at usr/local/tce.installed:


--- Code: ---PATH=/usr/local/texlive/2009/bin/i386-linux:$PATH
export PATH
--- End code ---

However, it doesn't work at all. I'm running 2.11.5. Some hints please?

Best regards,

Xianwen

gerald_clark:
Startup scripts are not parents of login, and therefore cannot modify the user's environment.

roberts:
Might try all one line:

PATH=/usr/local/texlive/2009/bin/i386-linux:$PATH texlive-latex

Xianwen Chen:

--- Quote from: gerald_clark on June 26, 2010, 06:13:29 PM ---Startup scripts are not parents of login, and therefore cannot modify the user's environment.

--- End quote ---

Dear gerald_clark,

Thanks for your hint. I'm confused. How could I modify user's environment then?

Best regards,

Xianwen

Xianwen Chen:

--- Quote from: roberts on June 26, 2010, 06:49:53 PM ---Might try all one line:

PATH=/usr/local/texlive/2009/bin/i386-linux:$PATH texlive-latex

--- End quote ---

Dear Robert,

Thanks for your suggestion! However, it doesn't work. This problem has puzzled me for weeks.  ???

Best regards,

Xianwen

Navigation

[0] Message Index

[#] Next page

Go to full version